FEATURES

{{x.title}}

{{x.desc}}

EXAMS

{{tp.name}}
  • Validity: Unlimited {{tp.expiry_date}} {{tp.expire_after}} Day
  • Total No. Test: {{tp.total_test}}
  • Total No. Videos: {{tp.total_video}}
  • Total No. Live Videos: {{tp.total_live}}
  • Total No. PDF: {{tp.total_pdf}}

{{tp.price}}/- Free

BOOK NOW DETAILS

TESTIMONIALS

Sign-up for FREE
function wccp_enqueue_scripts() { global $pluginsurl; $admincore = ''; if (isset($_GET['page'])) $admincore = sanitize_text_field($_GET['page']); if( ( current_user_can('editor') || current_user_can('administrator') ) && $admincore == 'wccpoptionspro') { wp_enqueue_script('jquery'); wp_register_script('simpletabsjs', $pluginsurl.'/js/simpletabs_1.3.js'); wp_enqueue_script('simpletabsjs'); wp_register_style('simpletabscss', $pluginsurl.'/css/simpletabs.css'); wp_enqueue_style('simpletabscss'); wp_register_style('bootstrap-grid.min', $pluginsurl.'/start-page-assests/css/bootstrap-grid.min.css'); wp_enqueue_style('bootstrap-grid.min'); wp_register_style('font-awesome.min.css', 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); wp_enqueue_style('font-awesome.min.css'); } } // Hook into the 'wp_enqueue_scripts' action add_action('admin_enqueue_scripts', 'wccp_enqueue_scripts'); function wccp_free_enqueue_front_end_scripts() { wp_enqueue_script('jquery'); } add_action('wp_enqueue_scripts', 'wccp_free_enqueue_front_end_scripts'); //------------------------------------------------------------------------ function wpcp_disable_Right_Click() { ?>
error:
'.$content.''; } //------------------------------------------------------------------------ // Add specific CSS class by filter function wccp_class_names($classes) { global $wccp_settings; if(!current_user_can( 'manage_options' ) || (current_user_can( 'manage_options' ) && $wccp_settings['exclude_admin_from_protection'] == 'No')) { if ($wccp_settings['home_css_protection'] == 'Enabled' || $wccp_settings['posts_css_protection'] == 'Enabled' || $wccp_settings['pages_css_protection'] == 'Enabled') { $classes[] = 'unselectable'; return $classes; } else { $classes[] = 'none'; return $classes; } }else { $classes[] = 'none'; return $classes; } } //Don't serve actions for live editors & builders global $pagenow; if ($pagenow != 'post.php' && !isset($_GET["elementor-preview"]) && !isset($_GET["siteorigin_panels_live_editor"]) && !isset($_GET["preview_id"]) && !isset($_GET["fl_builder"]) && !isset($_GET["et_fb"])) { add_action('wp_head','wccp_main_settings'); add_action('wp_head','right_click_premium_settings'); add_action('wp_head','wccp_css_settings'); add_action('wp_footer','alert_message'); add_filter('body_class','wccp_class_names'); //add_filter( 'the_content', 'wccp_find_image_urls'); } //-------------------------------------------------------Function to read options from the database function wccp_read_options() { if (get_option('wccp_settings')) $wccp_settings = get_option('wccp_settings'); else $wccp_settings = wccp_default_options(); $wccp_settings = array_merge(wccp_default_options(), $wccp_settings);//Set default value for any unexisted key if ((isset($_GET['page']) && $_GET['page'] != 'wccpoptionspro') || !isset($_GET['page'])) { //We don't want this merge to work inside plugin admin panel } return $wccp_settings; } //--------------------------------------------------------------------- //To use debug console in PHP because its just allowed using JavaScript //--------------------------------------------------------------------- function wccp_free_debug_to_console($data) { global $wccp_settings; if(array_key_exists("developer_mode", $wccp_settings)) { if($wccp_settings['developer_mode'] == "Yes") { $output = $data; if ( is_array( $output )) { foreach ( $output as $element ) if(isset($element)) { //echo ""; } } } } } //-------------------------------------------------------Set default values to the array function wccp_default_options(){ $pluginsurl = plugins_url( '', __FILE__ ); $wccp_settings = Array ( 'single_posts_protection' => 'Enabled', // prevent content copy, take 3 parameters, 1.content: to prevent content copy only 2.all 3.none 'home_page_protection' => 'Enabled', // 'page_protection' => 'Enabled', // 'top_bar_icon_btn' => 'Visible', // 'right_click_protection_posts' => 'checked', // 'right_click_protection_homepage' => 'checked', // 'right_click_protection_pages' => 'checked', // 'home_css_protection' => 'Enabled', // premium option 'posts_css_protection' => 'Enabled', // premium option 'pages_css_protection' => 'Enabled', // premium option 'exclude_admin_from_protection' => 'No', 'img' => '', 'a' => '', 'pb' => '', 'input' => '', 'h' => '', 'textarea' => '', 'emptyspaces' => '', 'smessage' => 'Content is protected !!', 'alert_msg_img' => '', 'alert_msg_a' => '', 'alert_msg_pb' => '', 'alert_msg_input' => '', 'alert_msg_h' => '', 'alert_msg_textarea' => '', 'alert_msg_emptyspaces' => '', 'prnt_scr_msg' => 'You are not allowed to print preview this page, Thank you' ); return $wccp_settings; } //---------------------------------------- Add plugin settings link to Plugins page function wccp_plugin_add_settings_link( $links ) { $settings_link = '' . __( 'Settings', 'wp-content-copy-protector') . ''; array_push( $links, $settings_link ); $go_pro_link = '' . __( 'Go PRO', 'wp-content-copy-protector') . ''; array_push( $links, $go_pro_link ); return $links; } $plugin = plugin_basename( __FILE__ ); add_filter( "plugin_action_links_$plugin", 'wccp_plugin_add_settings_link' ); //------------------------------------------------------------------------ //Make a WordPress function to add to the correct menu. function wpccp_after_plugin_row( $plugin_file, $plugin_data, $status ) { $plugin_name = substr(__FILE__, strlen(ABSPATH . PLUGINDIR . '/')); $class_name = ''; if ($plugin_file != $plugin_name) return; $FS_PATH = plugin_basename( __FILE__ ); if ($FS_PATH) { $class_name = $plugin_data['slug']; $p_url = "http://www.wp-buy.com/product/wp-content-copy-protection-pro/"; echo ''; echo ''; echo ''; echo '
'; echo __('You are running WP Content Copy Protection & No Right Click (free). To get more features, you can ', 'wp-content-copy-protector') . '' . __('Upgrade Now', 'wp-content-copy-protector') . ', ' . __('Dismiss', 'wp-content-copy-protector') . '.'; echo '
'; echo ''; echo ''; } ?> 'wccp_free_top_button', 'parent' => null, 'group' => null, 'title' => '' . __('Protection', 'wp-content-copy-protector'), 'href' => admin_url('admin.php?page=wccpoptionspro'), 'meta' => array('title' => __('Copy Protection & No right click', 'wp-content-copy-protector'),//This title will show on hover 'class' => '') ); //This is where the magic works. $admin_bar->add_menu( $args); } //------------------------------------------------------------------------ function wccp_options_page_pro() { include 'admin-core.php'; } //------------------------------------------------------------------------ //Make our function to call the WordPress function to add to the correct menu. function wccp_add_options() { //add_options_page(__('WP Content Copy Protection', 'wp-content-copy-protector'), __('WP Content Copy Protection', 'wp-content-copy-protector'), 'manage_options', 'wccpoptionspro', 'wccp_options_page_pro'); add_menu_page ( 'WP Content Copy Protection', // use null for parent slug to hide it from admin menu 'Copy Protection', // page title 'manage_options', // capability 'wccpoptionspro', // slug 'wccp_options_page_pro', // callback 'dashicons-lock', 6 ); } //First use the add_action to add onto the WordPress menu. add_action('admin_menu', 'wccp_add_options'); ?>