Created
January 21, 2020 05:08
-
-
Save simongcc/b36da2b83d3f9c9b8f63fc32fb3f523f to your computer and use it in GitHub Desktop.
Wordpress - add post type support to existing post types
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
function sing_update_post_types_support() { | |
// add_post_type_support( 'events', 'post-formats' ); | |
} | |
add_action( 'init', 'sing_update_post_types_support' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment