File manager - Edit - /home/proidvn/me.proid.vn/wp-content/plugins/jetformbuilder/includes/admin/table-views/actions/api-single-action.php
Back
<?php namespace Jet_Form_Builder\Admin\Table_Views\Actions; // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } abstract class Api_Single_Action extends View_Single_Action { abstract public function get_method(): string; abstract public function get_rest_url( array $record ): string; public function get_payload( array $record ): array { return array(); } public function to_array( array $record ): array { $attrs = parent::to_array( $record ); $attrs['payload'] = $this->get_payload( $record ); $attrs['endpoint'] = array( 'method' => $this->get_method(), 'url' => $this->get_rest_url( $record ), ); return $attrs; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.17 |
proxy
|
phpinfo
|
Settings