sfw_get_wpobject_entity
Description
Retrieve an Entity by a given WP Resource like a post or term
Since: 1.0.0
Code
<?php function sfw_get_wpobject_entity( $wpobj ){
…
} ?>
Parameter
- (mixed) an Object that is associated with a WordPress resource like a post or term