public function save_properties( $id ) {
		// Pre save page template, page type and some others dynamic values.
		$this->pre_save( $id );

		// Get properties data.
		$data = $this->get_post_data();

		// Prepare properties data.
		$data = $this->prepare_properties_data( $data, $id );

		// Get meta type.
		$meta_type = $this->get_meta_type();

		// Overwrite post data if any.
		if ( $meta_type === 'post' ) {
			$this->overwrite_post_data( $id );
		}

		// Save all properties value
		foreach ( $data as $key => $value ) {
			papi_data_update( $id, $key, $value, $this->get_meta_type() );
		}

		/**
		 * Fire `save_properties` action when all is done.
		 *
		 * @param int    $id
		 * @param string $meta_type
		 */
		do_action( 'papi/save_properties', $id, $meta_type );
	}
public function save_properties( $id ) {
		// Pre save page template, page type and some others dynamic values.
		$this->pre_save( $id );

		// Get properties data.
		$data = $this->get_post_data();

		// Prepare properties data.
		$data = $this->prepare_properties_data( $data, $id );

		// Get meta type.
		$meta_type = $this->get_meta_type();

		// Overwrite post data if any.
		if ( $meta_type === 'post' ) {
			$this->overwrite_post_data( $id );
		}

		// Save all properties value
		foreach ( $data as $key => $value ) {
			papi_data_update( $id, $key, $value, $this->get_meta_type() );
		}

		/**
		 * Fire `save_properties` action when all is done.
		 *
		 * @param int    $id
		 * @param string $meta_type
		 */
		do_action( 'papi/save_properties', $id, $meta_type );
	}
public function save_properties ( $ id ) { // Pre save page template, page type and some others dynamic values. $ this -> pre_save ( $ id ) ; // Get properties data. $ data = $ this -> get_post_data ( ) ; // Prepare properties data. $ data = $ this -> prepare_properties_data ( $ data , $ id ) ; // Get meta type. $ meta_type = $ this -> get_meta_type ( ) ; // Overwrite post data if any. if ( $ meta_type === 'post' ) { $ this -> overwrite_post_data ( $ id ) ; } // Save all properties value foreach ( $ data as $ key => $ value ) { papi_data_update ( $ id , $ key , $ value , $ this -> get_meta_type ( ) ) ; } /**
		 * Fire `save_properties` action when all is done.
		 *
		 * @param int    $id
		 * @param string $meta_type
		 */ do_action ( 'papi/save_properties' , $ id , $ meta_type ) ; }
Save properties.

@param int $id
Save properties .