Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function foobar_metabox_callback( $post ) {
- wp_nonce_field( basename( __FILE__ ), 'metabox_meta_nonce' );
- $metabox_stored_meta = get_post_meta( $post->ID );
- if ( has_post_thumbnail() ) { ?>
- <p>
- <!-- show results -->
- </p>
- <?php } else { ?>
- <p>No Featured Image not loaded</p>
- <?php
- }
- // test the meta content
- $getPostCustom=get_post_custom();
- var_dump($getPostCustom);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement