Helpers
Helpers class.
Namespace: WebberZone\AutoClose\Util
Since: 3.0.0
Source: includes/util/class-helpers.php line 15
Methods
parse_post_types() static
Returns an array of post types from an input which can be either a query string, CSV or array.
Since: 3.0.0
Line: 25
static public function parse_post_types( $post_types_input ): array;
| Type | Name | Description |
|---|---|---|
mixed | $post_types_input | Post types array or query or csv string. |
Returns: array — Array of post types.