Customize yoast-schema-graph data?
-
Hi there,
i am using Yoast 15.2 and I am generating title and description of pages via custom php functions using wordpress actions and filters to overwrite Yoast data:
For example:
add_action( ‘wpseo_title’, ‘wpseo_title_custom’ );
add_action( ‘wpseo_metadesc’, ‘wpseo_metadesc_custom’ );add_filter( ‘wpseo_opengraph_desc’, ‘filter_wpseo_opengraph_desc’, 10, 1 );
add_filter( ‘wpseo_opengraph_title’, ‘filter_wpseo_opengraph_title’, 10, 1 );(i am omitting the custom functions because not needed in this purpose)
I was wondering whether there is a function to overwrite title and description that are passed to schema.org via yoast-schema-graph?
Thanks,
Gabriel
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Customize yoast-schema-graph data?’ is closed to new replies.