YoastWPSEOregister_robots_rules, $this->robots_txt_helper
YoastWPSEOregister_robots_rules, $this->robots_txt_helper
Appears in: wordpress-seo.28.1
Hook Type: action
Displaying hooks found in version: wordpress-seo.28.1do_action('YoastWPSEOregister_robots_rules, $this->robots_txt_helper') is found 1 times:
- /src/integrations/front-end/robots-txt-integration.php line 108
* Allow registering custom robots rules to be outputted within the Yoast content block in robots.txt. * * @param Robots_Txt_Helper $robots_txt_helper The Robots_Txt_Helper object. */ \do_action( 'Yoast\WP\SEO\register_robots_rules', $this->robots_txt_helper ); return \trim( $robots_txt . \PHP_EOL . $this->robots_txt_presenter->present() . \PHP_EOL ); } /** * Add a disallow rule for search to robots.txt.