public static function get_metaplate_id_by_slug( $slug, $metaplates = null ) {
		if ( is_null( $metaplates ) ) {
			$metaplates = self::get_registry();
		}

		if ( is_array( $metaplates ) ) {
			$search = wp_list_pluck( $metaplates, 'slug' );
			return array_search( $slug, $search );

		}

		return false;
	}