Since SEOPress 2.7.2
function sp_social_og_thumb($html) { //you can add here all your conditions like if is_page(), is_category() etc.. $html = '<meta property="og:image" content="https://www.seopress.org/wp-content/uploads/2016/12/cropped-ico-logo-seopress-256x256.png" />'; return $html; } add_filter('seopress_social_og_thumb', 'sp_social_og_thumb');
Last modified: April 14, 2018