'spfaq_collection', 'post_status' => array( 'publish', 'draft' ), 'orderby' => 'title', 'order' => 'ASC', ) ); $categories = get_terms( array( 'taxonomy' => 'spfaq_category', 'hide_empty' => false, ) ); echo '
' . esc_html__( 'SPINDLE FAQ / EMBED BUILDER', 'spindle-faq' ) . '

' . esc_html__( 'Publish answers anywhere', 'spindle-faq' ) . '

' . esc_html__( 'Create a shortcode for any page, post, product or WordPress shortcode-enabled area.', 'spindle-faq' ) . '

'; echo '

' . esc_html__( 'Configure your FAQ display', 'spindle-faq' ) . '

'; echo '

'; $opt_allowed = array( 'option' => array( 'value' => true ) ); $opt_default = ''; echo '

'; foreach ( array( 'numbered' => __( 'Numbered questions', 'spindle-faq' ), 'expand_all' => __( 'Expand / Collapse all buttons', 'spindle-faq' ), 'copy_link' => __( 'Copy-link buttons', 'spindle-faq' ), ) as $key => $label ) { echo wp_kses( '

', SPFAQ_Kses::admin() ); } echo '

' . esc_html__( 'Generated shortcode', 'spindle-faq' ) . '

'; echo '

' . esc_html__( 'Quick start', 'spindle-faq' ) . '

' . esc_html__( 'A collection displays its manually selected questions in the saved order. Use a category when you want every question classified under a topic.', 'spindle-faq' ) . '

' . esc_html__( 'Create a FAQ', 'spindle-faq' ) . '

' . esc_html__( 'Manage collections', 'spindle-faq' ) . '

'; } /** Register the Embed Builder screen. */ public static function menu() { add_submenu_page( 'spfaq-dashboard', __( 'Embed Builder', 'spindle-faq' ), __( 'Embed Builder', 'spindle-faq' ), 'edit_posts', 'spfaq-builder', array( __CLASS__, 'page' ) ); } }