add post type support – multiple post types in one declaration
-
My php kungfu is not strong yet. I’m learning π
I know I have to:
add_post_type_support( 'state', 'genesis-simple-sidebars' );
get to get some of my plugins to recognize my custom post types.But I have multiple custom post types (state, location, event and more)
Instead of listing multiple “add_post_type_support(…” lines is it possible (and even more efficient) to list them all in one declaration? I checked the codex but didn’t see an example using an array.
Thanks for helping me learn π
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘add post type support – multiple post types in one declaration’ is closed to new replies.