src/admin/class-papi-admin.php
public function admin_init() {
		$meta_type  = papi_get_meta_type();
		$meta_type  = ucfirst( $meta_type );
		$class_name = 'Papi_Admin_Entry_' . $meta_type;

		// A custom class is not required, e.g
		// options don't have one.
		if ( class_exists( $class_name ) ) {
			$class = call_user_func( [$class_name, 'instance'] );

			if ( ! $class->setup() ) {
				return;
			}
		}

		// Setup entry type.
		if ( $entry_type = $this->get_entry_type() ) {
			$entry_type->setup();
		}
	}
public function admin_init() {
		$meta_type  = papi_get_meta_type();
		$meta_type  = ucfirst( $meta_type );
		$class_name = 'Papi_Admin_Entry_' . $meta_type;

		// A custom class is not required, e.g
		// options don't have one.
		if ( class_exists( $class_name ) ) {
			$class = call_user_func( [$class_name, 'instance'] );

			if ( ! $class->setup() ) {
				return;
			}
		}

		// Setup entry type.
		if ( $entry_type = $this->get_entry_type() ) {
			$entry_type->setup();
		}
	}
Preboot all types and setup the current type if any.