LLMS_Admin_Metabox::save_actions( int $post_id )

Perform Save Actions.


Description Description

Triggers actions for before and after save and calls the save method which actually saves metadata.

This is called automatically on save_post_{$post_type} for all screens defined in $this->screens.


Top ↑

Parameters Parameters

$post_id

(int) (Required) WP Post ID of the post being saved.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.admin.metabox.php

		}

		return $this->save_field_db( $post_id, $field['id'], $val );

	}

	/**
	 * Save field in the db.
	 *
	 * Expects an already sanitized value.
	 *
	 * @param int   $post_id  The WP Post ID.
	 * @param int   $field_id The field identifier.
	 * @param mixed $val      Value to save.
	 * @return bool
	 */

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.