Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Enforce HTTP Open Graph URLs in Yoast SEO */
- add_filter( 'wpseo_opengraph_url', 'my_opengraph_url' );
- function my_opengraph_url( $url ) {
- return str_replace( 'https://', 'http://', $url );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement