wpseo_schema_

wpseo_schema_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_schema_') is found 2 times:

  • /src/generators/schema-generator.php line 148
    				 * @param Meta_Tags_Context       $context                A value object with context variables.
    				 * @param Abstract_Schema_Piece   $graph_piece_generator  A value object with context variables.
    				 * @param Abstract_Schema_Piece[] $graph_piece_generators A value object with context variables.
    				 */
    				$graph_piece = \apply_filters( 'wpseo_schema_' . $identifier, $graph_piece, $context, $graph_piece_generator, $graph_piece_generators );
    				$graph_piece = $this->type_filter( $graph_piece, $identifier, $context, $graph_piece_generator, $graph_piece_generators );
    				$graph_piece = $this->validate_type( $graph_piece );
    
    				if ( \is_array( $graph_piece ) ) {
    					$graph[] = $graph_piece;
    				}
    
  • /src/generators/schema-generator.php line 357
    				 * @param Meta_Tags_Context       $context                A value object with context variables.
    				 * @param Abstract_Schema_Piece   $graph_piece_generator  A value object with context variables.
    				 * @param Abstract_Schema_Piece[] $graph_piece_generators A value object with context variables.
    				 */
    				$graph_piece = \apply_filters( 'wpseo_schema_' . $type, $graph_piece, $context, $graph_piece_generator, $graph_piece_generators );
    			}
    		}
    
    		return $graph_piece;
    	}