Tag Info

New answers tagged

0

Use the code given below, In this code we are checking if page is 'jetpack' and based on that showing custom error message. add_action( 'admin_init', 'restrict_page' ); function restrict_page() { if ( class_exists( 'Jetpack' ) && !current_user_can( 'manage_options' ) ) { if ( isset( $_GET['page'] ) && $_GET['page'] == 'jetpack' ) ...



Top 50 recent answers are included