wpseo_schema_aggregator_schemamap_priority

wpseo_schema_aggregator_schemamap_priority

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.27.1.1

apply_filters('wpseo_schema_aggregator_schemamap_priority') is found 1 times:

  • /src/schema-aggregator/infrastructure/schema_map/schema-map-config.php line 41
    	 *
    	 * @return string Priority value as string (float between 0.0 and 1.0).
    	 */
    	public function get_priority(): string {
    		$priority = \apply_filters( 'wpseo_schema_aggregator_schemamap_priority', '0.8' );
    
    		$priority_float = \is_numeric( $priority ) ? (float) $priority : 0.8;
    
    		if ( $priority_float < 0.0 || $priority_float > 1.0 ) {
    			return '0.8';
    		}