Support » Plugin: Noindex Pages » PATCH: Only show meta box for supported post types

  • Currently the meta box gets shown for every post type, not just the supported ones.

    You need to add
    if ( !in_array( $post->post_type, noinp_post_types() ) ) return;
    to noinp_display_meta_checkbox() to fix this.

  • The topic ‘PATCH: Only show meta box for supported post types’ is closed to new replies.