src/stores/class-papi-option-store.php
public function get_property( $slug, $child_slug = '' ) {
		$entry_type_id = papi_get_qs( 'page' );

		if ( empty( $entry_type_id ) ) {
			$property   = null;
			$entry_types = papi_get_all_entry_types( [
				'types' => 'option'
			] );

			foreach ( $entry_types as $entry_type ) {
				if ( $property = $entry_type->get_property( $slug, $child_slug ) ) {
					break;
				}
			}

			if ( is_null( $property ) ) {
				return;
			}

			return $property;
		}

		$entry_type = papi_get_entry_type_by_id( $entry_type_id );

		if ( $entry_type instanceof Papi_Option_Type === false ) {
			return;
		}

		if ( $property = $entry_type->get_property( $slug, $child_slug ) ) {
			return $this->prepare_property( $property );
		}
	}
public function get_property( $slug, $child_slug = '' ) {
		$entry_type_id = papi_get_qs( 'page' );

		if ( empty( $entry_type_id ) ) {
			$property   = null;
			$entry_types = papi_get_all_entry_types( [
				'types' => 'option'
			] );

			foreach ( $entry_types as $entry_type ) {
				if ( $property = $entry_type->get_property( $slug, $child_slug ) ) {
					break;
				}
			}

			if ( is_null( $property ) ) {
				return;
			}

			return $property;
		}

		$entry_type = papi_get_entry_type_by_id( $entry_type_id );

		if ( $entry_type instanceof Papi_Option_Type === false ) {
			return;
		}

		if ( $property = $entry_type->get_property( $slug, $child_slug ) ) {
			return $this->prepare_property( $property );
		}
	}
Load property from page type.

@param  string $slug
@param  string $child_slug

@return null|object