ActionScheduler_wpPostStore::get_post()
Get post.
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.
ActionScheduler_wpPostStore::get_post() ActionScheduler wpPostStore::get post code WC 9.3.3
protected function get_post( $action_id ) { if ( empty( $action_id ) ) { return null; } return get_post( $action_id ); }