Created
August 29, 2018 16:35
-
-
Save daviddarke/2cf9df883f884fe0c8d6a0579611462d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('wp_head', 'remove_one_wpseo_og', 1); | |
function remove_one_wpseo_og() { | |
global $post; | |
if( $post->post_type == 'shorthand_story' ){ | |
remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment