wordpress/wp-content/themes/basic/themify/themify-metabox/includes/themify-metabox-core.php
/*
	 * Protect $themify_write_panels fields
	 * This will hide these fields from Custom Fields panel
	 *
	 * @since 1.8.2
	 */
Protect $themify_write_panels fields
This will hide these fields from Custom Fields panel


Protect $themify_write_panels fields This will hide these fields from Custom Fields panel
function protected_meta( $protected, $meta_key, $meta_type ) {
		if ( ! did_action( 'all_admin_notices' ) ) return;
		global $typenow;
		static $protected_metas = null;
		if( $protected_metas === null ) {
			$protected_metas=array();
			foreach( $this->get_meta_boxes() as $meta_box ) {
				$protected_metas = array_merge( themify_metabox_get_field_names( $this->get_meta_box_options( $meta_box['id'], $typenow ) ), $protected_metas );
			}
		}
		if( is_array( $protected_metas ) && in_array( $meta_key, $protected_metas ) ) {
			$protected = true;
		}
		return $protected;
	}
function protected_meta ( $ protected , $ meta_key , $ meta_type ) { if ( ! did_action ( 'all_admin_notices' ) ) return ; global $ typenow ; static $ protected_metas = null ; if ( $ protected_metas === null ) { $ protected_metas = array ( ) ; foreach ( $ this -> get_meta_boxes ( ) as $ meta_box ) { $ protected_metas = array_merge ( themify_metabox_get_field_names ( $ this -> get_meta_box_options ( $ meta_box [ 'id' ] , $ typenow ) ) , $ protected_metas ) ; } } if ( is_array ( $ protected_metas ) && in_array ( $ meta_key , $ protected_metas ) ) { $ protected = true ; } return $ protected ; }
Protect $themify_write_panels fields
 This will hide these fields from Custom Fields panel
Protect $themify_write_panels fields This will hide these fields from Custom Fields panel
/* ensure this method is not called before $this->panel_options is filled */