Hide SEO details on admin column for specific post IDs

#65627
  • Resolved Oleg Meglin
    Rank Math free

    Hello,

    I’m trying to change the SEO details on admin column for specific post IDs. For a few Post IDs I don’t want to have any output there. The same applies to the SEO title and the SEO description.

    I wrote this code here:

    add_action( 'manage_pages_custom_column', 'edit_rank_math_seo_details_column', 10, 2);
    
    function edit_rank_math_seo_details_column( $column, $post_id ) {
        if ($post_id === 1644) {
            if ( 'rank_math_seo_details' === $column || 'rank_math_title' === $column || 'rank_math_description' === $column ) {
                echo '-';
            }
        }
    }

    The code just adds my input to the beginning. Then the content of Rank Math follows again. See image: https://ibb.co/mh2DsnL

    Is there a rank math hook to change that?
     
    Many thanks for your help.

    Regards from Germany
    Oleg

    • This topic was modified 4 years, 4 months ago by Oleg Meglin.
    • This topic was modified 4 years, 4 months ago by Oleg Meglin.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Allow me to consult the dev team if they can create a custom filter to do so. You can also choose to hide the SEO details option using the screen options altogether:
    img

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi,

    thank you for the fast reply.

    As described above, I only need to hide this for a few Post IDs and not for all. I hope the dev team can help.

    Hi Oleg,

    I am afraid we do not have a filter or a hook that allows making that change.

    Sorry.

    Hi Uzair,

    too bad, then I try to solve it myself somehow.

    Thank you for your effort.

    Hi Oleg,

    I am sorry we couldn’t be of much help.

    If you need help with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Hide SEO details on admin column for specific post IDs’ is closed to new replies.