Skip to content

Add filter or option to disable plugin's robots.txt output #733

@scysys

Description

@scysys

Please add a filter or option to disable the plugin’s robots.txt functionality completly.

I tried multiple things

add_filter( 'the_seo_framework_robots_txt_sections', function( $sections ) {
    return [];
}, 100 );

Nothing works, and the documentation for your filters is incomplete. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] SupportIt's also a question, but a resolution is required.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions