marketingS
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
very slow query when toolset is activated
Started by: marketingS in: Toolset Professional Support |
3 | 9 | 3 years, 9 months ago | ||
Editor freezes for Toolset Access on WordPress 5.6
Started by: marketingS in: Toolset Professional Support |
2 | 4 | 3 years, 9 months ago | ||
Preview Any Permissions resulting in Page Not Found
Started by: marketingS in: Toolset Professional Support |
2 | 2 | 4 years, 12 months ago | ||
get_post_type_object function returns null in init action
Started by: marketingS
in: Toolset Professional Support
Problem: I would like to use the WP function get_post_type_object in my init hook, but it returns empty or null for my custom post types. Solution: Try priority 15, when most of Types functionality should be available. function myplugin_register_template() { $post_type_object = get_post_type_object( 'book' ); } add_action( 'init', 'myplugin_register_template', 15 ); |
2 | 3 | 5 years ago |