Свойство | Type | Description | |
---|---|---|---|
$entries | Papi_Post_Store | The post store class. |
Méthode | Description | |
---|---|---|
__construct ( ) | REST API Settings construct. | |
get_setting ( string $key, string $value ) : mixed | Get setting value for a property. | |
pre_get_setting ( mixed $value ) : mixed | Setup request after callbacks filter so it's only runs on settings endpoint. | |
prepare_response ( WP_HTTP_Response $response ) : array | Prepare settings response. | |
register ( ) | Register options properties. |
public pre_get_setting ( mixed $value ) : mixed | ||
$value | mixed | |
Résultat | mixed |
public prepare_response ( WP_HTTP_Response $response ) : array | ||
$response | WP_HTTP_Response | |
Résultat | array |