'); if(!get_option( 'social_share_title' )==""){ $content .= __('
'.get_option( 'social_share_title' ).'
'); } if(get_option( 'socialcheckbox' ) == ''){ } else{ if (__(get_option( 'socialcheckbox' )['digg']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['facebook']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['gmail']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['gplus']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['linkedin']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['pinterest']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['reddit']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['tumbler']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['twitter']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['vk']) == 1) { $content .= __(' '); } if (__(get_option( 'socialcheckbox' )['whatsapp']) == 1) { $content .= __(' '); } } $content .= __(''); } return $content; } // Include the dependencies needed to instantiate the plugin. foreach ( glob( plugin_dir_path( __FILE__ ) . 'admin/*.php' ) as $file ) { include_once $file; } add_action( 'plugins_loaded', 'assb_socialbuttonload' ); /** * Starts the plugin. */ function assb_socialbuttonload() { $plugin = new assb_sharebuttonMainpage( new assb_sharebuttonPage() ); $plugin->assb_init(); } ?>