Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- woocommerce_wp_select(
- array(
- 'id' => '_type',
- 'label' => __( 'Type', 'woocommerce' ),
- 'desc_tip' => 'true',
- 'description' => __( 'What type of product is this? If possible, try to be more specific then just "book".', 'woocommerce' ),
- 'options' => array(
- 'one' => __( 'Book', 'woocommerce' ),
- 'two' => __( 'Teacher Guide', 'woocommerce' ),
- 'three' => __( 'Disciple Guide', 'woocommerce' ),
- 'four' => __( 'Teaching Pictures', 'woocommerce' ),
- 'five' => __( 'Bible Cards', 'woocommerce' ),
- 'six' => __( 'DVD', 'woocommerce' ),
- 'seven' => __( 'Other', 'woocommerce' )
- )
- )
- );
- $type_value = get_post_meta( get_the_ID(), '_type', true );
- echo $type_value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement