wpseo_schema_

wpseo_schema_

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

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_schema_') is found 2 times:

  • /src/generators/schema-generator.php line 148
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    * @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
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
                 * @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;
    }