WordPress at Your Fingertips
function is not described

ActionScheduler_wpPostStore::get_post() protected WC 1.0

Get post.

{} It's a method of the class: ActionScheduler_wpPostStore{}

No Hooks.

Return

WP_Post|null.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_post( $action_id );
$action_id(string) (required)
- Action ID.

Code of ActionScheduler_wpPostStore::get_post() WC 6.1.1

protected function get_post( $action_id ) {
	if ( empty( $action_id ) ) {
		return null;
	}
	return get_post( $action_id );
}