function mashsharer() { global $atts; /*global $content; global $post; global $wp;*/ //is_singular() ? $url = urlencode(home_url( $wp->request )) : $url = urlencode(get_permalink($post->ID)); //$url = mashsb_get_url(); //$title = mashsb_get_title(); /*function_exists('MASHOG') ? $title = MASHOG()->MASHOG_OG_Output->_get_title() : $title = the_title_attribute('echo=0'); $title = html_entity_decode($title, ENT_QUOTES, 'UTF-8'); $title = urlencode($title); $title = str_replace('#' , '%23', $title); $title = esc_html($title);*/ echo mashshareShow($atts, ''); }
function mashsharer() { //global $atts; echo mashshareShow(); }