wpseo_replacements, $replacements, $this->args
wpseo_replacements, $replacements, $this->args
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_replacements, $replacements, $this->args') is found 1 times:
- /inc/class-wpseo-replace-vars.php line 176
* @param array $replacements The replacements. * @param array $args The object some of the replacement values might come from, * could be a post, taxonomy or term. */ $replacements = apply_filters( 'wpseo_replacements', $replacements, $this->args ); // Do the actual replacements. if ( is_array( $replacements ) && $replacements !== [] ) { $text = str_replace( array_keys( $replacements ), // Make sure to exclude replacement values that are arrays e.g. coming from a custom field serialized value.