web/wp-content/themes/mozilla-builders/src/Models/PostType/Profile.php [23:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	public static function register(): void {
		$args = array(
			'labels'       => array(
				'name'          => 'Profiles',
				'singular_name' => 'Profile',
				'not_found'     => 'No Profiles Found',
				'add_new'       => 'Add New Profile',
				'add_new_item'  => 'Add New Profile',
			),
			'public'       => true,
			'menu_icon'    => 'dashicons-id-alt',
			'supports'     => array( 'title', 'thumbnail' ),
			'map_meta_cap' => true,
			'rewrite'      => array(
				'slug'       => 'profile',
				'with_front' => false,
			),
		);

		register_post_type( self::HANDLE, $args );
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



web/wp-content/themes/mozilla-builders/src/Models/PostType/Cta.php [23:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	public static function register(): void {
		$args = array(
			'labels'       => array(
				'name'          => 'CTAs',
				'singular_name' => 'CTA',
				'not_found'     => 'No CTAs Found',
				'add_new'       => 'Add New CTA',
				'add_new_item'  => 'Add New CTA',
			),
			'public'       => true,
			'menu_icon'    => 'dashicons-pressthis',
			'supports'     => array( 'title', 'thumbnail' ),
			'map_meta_cap' => true,
			'rewrite'      => array(
				'slug'       => 'cta',
				'with_front' => false,
			),
		);

		register_post_type( self::HANDLE, $args );
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



