$wpdb
$wpdb :
Create WordPress REST API functionality
__construct(object $wpdb, string $version, string $slug, string $option_prefix, object $wordpress, object $salesforce, object $mappings, object $push, object $pull)
Constructor which sets up rest methods
| object | $wpdb | |
| string | $version | |
| string | $slug | |
| string | $option_prefix | |
| object | $wordpress | |
| object | $salesforce | |
| object | $mappings | |
| object | $push | |
| object | $pull |
add_actions()
Create the action hooks to create the reset methods
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jstegall/Sites/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jstegall/Sites/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293check_class(string $class) : boolean
Check for a valid class from the parameter
| string | $class |
check_id(string $id) : boolean
Check for a valid ID from the parameter
| string | $id |
process(\WP_REST_Request $request) : \$result
Process the REST API request
| \WP_REST_Request | $request |