wpseo_robots, $robots_string, $this

wpseo_robots, $robots_string, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_robots, $robots_string, $this') is found 1 times:

  • /src/presentations/indexable-presentation.php line 330
    		 *
    		 * @param string                 $robots       The meta robots directives to be echoed.
    		 * @param Indexable_Presentation $presentation The presentation of an indexable.
    		 */
    		$robots_filtered = \apply_filters( 'wpseo_robots', $robots_string, $this );
    
    		// Convert the robots string back to an array.
    		if ( \is_string( $robots_filtered ) ) {
    			$robots_values = \explode( ', ', $robots_filtered );
    			$robots_new    = [];