false, 'description' => false, 'images' => false, 'disabled' => false, ) ); $og_meta_disabled = (bool) smartcrawl_get_array_value( $og, 'disabled' ); $og_helper = new Smartcrawl_OpenGraph_Value_Helper(); $this->_render( 'metabox/metabox-social-meta-tags', array( 'toggle_label' => esc_html__( 'Enable for this term', 'wds' ), 'main_title' => esc_html__( 'OpenGraph', 'wds' ), 'main_description' => esc_html__( 'OpenGraph is used on many social networks such as Facebook.', 'wds' ), 'field_name' => 'wds-opengraph', 'disabled' => $og_meta_disabled, 'current_title' => $og['title'], 'title_placeholder' => $og_helper->get_title(), 'current_description' => $og['description'], 'description_placeholder' => $og_helper->get_description(), 'images' => $og['images'], 'single_image' => false, 'images_description' => esc_html__( 'Each of these images will be available to use as the featured image when the term archive is shared.', 'wds' ), ) ); ?> false, 'description' => false, 'images' => false, 'disabled' => false, ) ); $twitter_printer = new Smartcrawl_Twitter_Value_Helper(); $twitter_meta_disabled = smartcrawl_get_array_value( $twitter, 'disabled' ); $this->_render( 'metabox/metabox-social-meta-tags', array( 'toggle_label' => esc_html__( 'Enable for this term', 'wds' ), 'main_title' => esc_html__( 'Twitter', 'wds' ), 'main_description' => esc_html__( 'These details will be used in Twitter cards.', 'wds' ), 'field_name' => 'wds-twitter', 'disabled' => $twitter_meta_disabled, 'current_title' => $twitter['title'], 'title_placeholder' => $twitter_printer->get_title(), 'current_description' => $twitter['description'], 'description_placeholder' => $twitter_printer->get_description(), 'images' => $twitter['images'], 'single_image' => true, 'images_description' => esc_html__( 'This image will be used as the featured image when the term archive is shared.', 'wds' ), ) ); ?>