Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Display "Post Options" meta box when
- * editing custom post types, foo and bar.
- */
- function my_post_meta( $setup ) {
- $setup['config']['page'][] = 'foo';
- $setup['config']['page'][] = 'bar';
- return $setup;
- }
- add_filter('themeblvd_post_meta', 'my_post_meta');
- /**
- * Allow "epic thumbnail" to work on custom
- * post types, foo and bar.
- */
- function my_epic_thumb_types( $post_types ) {
- $post_types[] = 'foo';
- $post_types[] = 'bar';
- return $post_types;
- }
- add_filter('themeblvd_epic_thumb_types', 'my_epic_thumb_types');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement