tp TouchPointWP storedAsPost - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\storedAsPost
This is a base interface for classes that have "schedule" strings.
- Interface name: storedAsPost
- Namespace: \tp\TouchPointWP
- This is an interface
Methods
getPost
\WP_Post|null tp\TouchPointWP\storedAsPost::getPost(bool create)
Get the WP_Post object corresponding to the object.
- Visibility: public
Arguments
- create bool - Set true if the post should be created if it doesn't exist. This would need to be implemented in each module, and is not implemented in most.
Returns
- \WP_Post|null -