protected function prepare_load_value( Papi_Core_Property $property, $value ) {
		if ( $property->overwrite ) {
			// Clear post cache to solve issue with cached post objects
			// when selecting post field.
			clean_post_cache( $this->id );

			$slug    = $property->get_slug( true );
			$context = papi_is_admin() ? 'edit' : 'display';
			$value   = get_post_field( $slug, $this->id, $context );
		}

		return $value;
	}
protected function prepare_load_value( Papi_Core_Property $property, $value ) {
		if ( $property->overwrite ) {
			// Clear post cache to solve issue with cached post objects
			// when selecting post field.
			clean_post_cache( $this->id );

			$slug    = $property->get_slug( true );
			$context = papi_is_admin() ? 'edit' : 'display';
			$value   = get_post_field( $slug, $this->id, $context );
		}

		return $value;
	}
protected function prepare_load_value ( Papi_Core_Property $ property , $ value ) { if ( $ property -> overwrite ) { // Clear post cache to solve issue with cached post objects // when selecting post field. clean_post_cache ( $ this -> id ) ; $ slug = $ property -> get_slug ( true ) ; $ context = papi_is_admin ( ) ? 'edit' : 'display' ; $ value = get_post_field ( $ slug , $ this -> id , $ context ) ; } return $ value ; }
Prepare load value.

@param  Papi_Core_Property $property
@param  mixed              $value

@return mixed
Prepare load value .