Disable creation of indexables in Yoast SEO

Disable creation of indexables in Yoast SEO on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'Yoast\WP\SEO\should_index_indexables', '__return_false' );