GC_Ajax_Response::__construct()
最后更新于:2021-11-26 09:12:28
GC_Ajax_Response::__construct( string|array$args=”)Constructor – Passes args to GC_Ajax_Response::add().
参数
- $args
-
(string|array) (Optional) Will be passed to add() method.
Default value: ”
源文件
文件: gc-includes/class-gc-ajax-response.php
public function __construct( $args = '' ) {
if ( ! empty( $args ) ) {
$this->add( $args );
}
}