jetformbuilder
/
includes
/
blocks
/
conditional-block
/
rest-api
/
add-render-state-endpoint-table.php
add-render-state-endpoint-option.php
3 years ago
add-render-state-endpoint-table.php
3 years ago
delete-render-states-endpoint.php
3 years ago
rest-api-controller.php
3 years ago
add-render-state-endpoint-table.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Conditional_Block\Rest_Api; |
| 5 | |
| 6 | |
| 7 | use Jet_Form_Builder\Rest_Api\Rest_Api_Endpoint_Base; |
| 8 | |
| 9 | class Add_Render_State_Endpoint_Table extends Rest_Api_Endpoint_Base { |
| 10 | |
| 11 | /** |
| 12 | * @return mixed |
| 13 | */ |
| 14 | public static function get_rest_base() { |
| 15 | return 'render-states/add/table'; |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * @return mixed |
| 20 | */ |
| 21 | public static function get_methods() { |
| 22 | return \WP_REST_Server::CREATABLE; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * @param \WP_REST_Request $request |
| 27 | * |
| 28 | * @return mixed |
| 29 | */ |
| 30 | public function run_callback( \WP_REST_Request $request ) { |
| 31 | } |
| 32 | } |