Changeset 2742089
- Timestamp:
- 06/14/2022 08:42:48 AM (4 years ago)
- Location:
- lbk-faqs-schema/trunk
- Files:
-
- 3 edited
-
faq-schema.php (modified) (previous)
-
includes/class.admin.php (modified) (1 diff)
-
readme.txt (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lbk-faqs-schema/trunk/includes/class.admin.php
r2736707 r2742089 41 41 */ 42 42 public function lbk_custom_faqs() { 43 add_meta_box( 44 '_lbk-custom-faq', 45 'Custom FAQs', 46 array( $this, 'lbk_custom_faq_inner'), 47 array( 'post', 'product', 'page' ), 48 'normal', 49 'default' 50 ); 43 if ( class_exists( 'lbkFAQsPro' ) ) $post_types = get_option("lbk_post_types_enable_faqs"); 44 else $post_types = array( 'post', 'product', 'page' ); 45 add_meta_box( 46 '_lbk-custom-faq', 47 'Custom FAQs', 48 array( $this, 'lbk_custom_faq_inner'), 49 $post_types, 50 'normal', 51 'default' 52 ); 51 53 } 52 54
Note: See TracChangeset
for help on using the changeset viewer.