MasterPress 1.1.4 is now available. This release contains an important compatibility fix for WordPress 4.5 to allow correct detection of the taxonomy term editing screen. Without this fix, any custom fields you have attached to custom taxonomies will not be shown at all in the editing form. Note also that MasterPress will still detect the edit screen correctly in…
WOOF_PostType :: find_or_create( String $slug )
Retrieves a post object of this post type by first trying to find a post with the specified $slug, or creating a new post with the specified slug if not found.
This method could be very useful in some kind of import process, where you might want to create or update posts from another data source (such as a JSON API) without needing to worry about checking for existence first (see example).