Open mihdan opened 4 years ago
I put this request up for our product owners, but you can also use the wpseo_frontend_presenter_classes
filter.
As example:
add_filter( 'wpseo_frontend_presenter_classes', 'filter_presenters' );
function filter_presenters( $filter ) {
if (($key = array_search('Yoast\WP\SEO\Presenters\Open_Graph\Article_Modified_Time_Presenter', $filter)) !== false) {
unset($filter[$key]);
}
return $filter;
}
Need an analog filter
wpseo_opengraph_show_publish_date
, eg:wpseo_opengraph_show_modify_date