wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-custom-fonts.php
/**
		 * Register Custom Font Custom Post Type
		 *
		 * @access static
		 */
Register Custom Font Custom Post Type
@access static
Register Custom Font Custom Post Type @access static
private static function register_cpt() {
			if ( !class_exists( 'CPT' ) ) {
				include THEMIFY_BUILDER_LIBRARIES_DIR . '/CPT.php';
			}
			$cpt = new CPT( array(
				'post_type_name' =>self::$slug,
				'singular' => __( 'Custom Font', 'themify' ),
				'plural' => __( 'Custom Fonts', 'themify' )
			), array(
				'supports' => array( 'title' ),
				'exclude_from_search' => true,
				'show_in_nav_menus' => false,
				'show_in_menu' => false,
				'show_ui' => true,
				'public' => false,
				'has_archive' => false
			) );
			$cpt->columns( array(
				'cb' => '<input type="checkbox" />',
				'title' => __( 'Title', 'themify' ),
				'font_preview' => __( 'Preview', 'themify' )
			) );
		}
private static function register_cpt ( ) { if ( ! class_exists ( 'CPT' ) ) { include THEMIFY_BUILDER_LIBRARIES_DIR . '/CPT.php' ; } $ cpt = new CPT ( array ( 'post_type_name' => self :: $ slug , 'singular' => __ ( 'Custom Font' , 'themify' ) , 'plural' => __ ( 'Custom Fonts' , 'themify' ) ) , array ( 'supports' => array ( 'title' ) , 'exclude_from_search' => true , 'show_in_nav_menus' => false , 'show_in_menu' => false , 'show_ui' => true , 'public' => false , 'has_archive' => false ) ) ; $ cpt -> columns ( array ( 'cb' => '<input type="checkbox" />' , 'title' => __ ( 'Title' , 'themify' ) , 'font_preview' => __ ( 'Preview' , 'themify' ) ) ) ; }
Register Custom Font Custom Post Type
 @access static
Register Custom Font Custom Post Type @access static
// create a template custom post type // define the columns to appear on the admin edit screen