wordpress/wp-content/themes/basic/themify/themify-builder/includes/plugin-compat/woocommerce.php
/**
	 * Ensure "Description" product tab is visible on frontend even if there are no description,
	 * so that Builder frontend editor can be used.
	 *
	 * Hooked to "woocommerce_product_tabs"
	 *
	 * @return array
	 */
Ensure "Description" product tab is visible on frontend even if there are no description,
so that Builder frontend editor can be used.



@return array
Ensure " Description " product tab is visible on frontend even if there are no description so that Builder frontend editor can be used . @return array
public static function woocommerce_product_tabs( $tabs ) {
		if ( is_singular( 'product' ) && ! isset( $tabs['description'] ) && Themify_Builder_Model::is_frontend_editor_page() ) {
			$tabs['description'] = array(
				'title' => __( 'Description', 'themify' ),
				'priority' => 10,
				'callback' => 'woocommerce_product_description_tab',
			);
		}
		return $tabs;
	}
public static function woocommerce_product_tabs ( $ tabs ) { if ( is_singular ( 'product' ) && ! isset ( $ tabs [ 'description' ] ) && Themify_Builder_Model :: is_frontend_editor_page ( ) ) { $ tabs [ 'description' ] = array ( 'title' => __ ( 'Description' , 'themify' ) , 'priority' => 10 , 'callback' => 'woocommerce_product_description_tab' , ) ; } return $ tabs ; }
Ensure "Description" product tab is visible on frontend even if there are no description,
 so that Builder frontend editor can be used.
Ensure " Description " product tab is visible on frontend even if there are no description so that Builder frontend editor can be used .