minimum_capability, 'mashsb-getting-started', array($this, 'getting_started_screen') ); // About Page add_submenu_page( 'mashsb-settings', __( 'Welcome to MashShare', 'mashsb' ), __( 'Welcome to MashShare', 'mashsb' ), $this->minimum_capability, 'mashsb-about', array($this, 'about_screen') ); } /** * Hide Individual Dashboard Pages * * @access public * @since 1.4 * @return void */ public function admin_head() { remove_submenu_page( 'mashsb-settings', 'mashsb-about' ); remove_submenu_page( 'mashsb-settings', 'mashsb-getting-started' ); if ( !mashsb_is_admin_page() ){ return false; } ?>
Facebook and Twitter Share Buttons have been enabled on all your posts!
Use the instructions on this page to customize MashShare.
MashShare uses sharedcount.com to collect shares.
Register for sharedcount.com on MashShare > Settings > Sharecount', 'mashsb' )); ?>
[mashshare].', 'mashsb' )); ?>
array(
'class' => array(),
'href' => array(),
'rel' => array(),
'title' => array(),
'target' => array(),
)
);
echo wp_kses(sprintf(__( 'There are several parameters you can use for the shortcode. Get a list of all available shortcode parameters', 'mashsb'), 'http://docs.mashshare.net/article/67-shortcodes'), $allowedHtml); ?>
<?php do_shortcode(\'[mashshare]\'); ?>', 'mashsb' )); ?>
open a ticket.', 'mashsb' )); ?>
Async Cache Refresh method and your share counts will be aggregated only after page loading and never while page loads. This is a huge performance update.', 'mashsb' )); ?>
array( 'class' => array(), 'href' => array(), 'rel' => array(), 'title' => array(), 'target' => array(), ) ); echo wp_kses(sprintf(__( 'Are you a theme developer and want to use MashShare as your build in share count aggregator? Read the developer instructions.', 'mashsb' ), 'https://docs.mashshare.net/category/38-sample-functions'), $allowedHtml); ?>
Validate Open Graph Data button and check if the open graph data on your site is working as expected or conflicts with other open graph data.', 'mashsb' )); ?>
github',' mashsb'), 'https://github.com/mashshare/Mashshare')); ?>
' . __( 'No valid changelog was found.', 'mashsb' ) . '
'; } else { $readme = file_get_contents( $file ); $readme = nl2br( esc_html( $readme ) ); $readme = explode( '== Changelog ==', $readme ); $readme = end( $readme ); $readme = preg_replace( '/`(.*?)`/', '\\1', $readme );
$readme = preg_replace( '/[\040]\*\*(.*?)\*\*/', ' \\1', $readme );
$readme = preg_replace( '/[\040]\*(.*?)\*/', ' \\1', $readme );
$readme = preg_replace( '/= (.*?) =/', '