is_spreadshirt_object

Description

Checks for a valid api response casted into an Object

Spreadshirt API responses usualy contain an href attributes on root level containing the request url

Since: 1.0.0

Code

<?php function is_spreadshirt_object( $object ){ 
	 … 
 } ?>

Parameter

(object) Object

Return

(boolean)

File

core/includes/functions-api.php