I know how to add fields to custom post types one at a time.
I was wondering if there is a way to add a field to the default post type as well as all the custom post types at once?
Thanks
|
I know how to add fields to custom post types one at a time. I was wondering if there is a way to add a field to the default post type as well as all the custom post types at once? Thanks |
|||
|
|
|
You can't use the The way to do this at the moment is to get an array of your post types and loop over them calling your
You can filter the specific post types you get back if you need more control by passing an array into |
|||
|