Website : phonehp.ir
backdoor
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Home
Console
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Warning
: Undefined variable $backdoor in
/home/nehpir/public_html/goods.php
on line
326
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
nehpir
/
www
/
wp-content
/
plugins
/
woocommerce
/
packages
/
blueprint
/
src
/
Steps
/
Filename :
SetSiteOptions.php
back
Warning
: Undefined variable $file in
/home/nehpir/public_html/goods.php
on line
545
Copy
<?php namespace Automattic\WooCommerce\Blueprint\Steps; /** * Set site options step. */ class SetSiteOptions extends Step { /** * Site options. * * @var array site options */ private array $options; /** * Constructor. * * @param array $options site options. */ public function __construct( array $options = array() ) { $this->options = $options; } /** * Get the name of the step. * * @return string step name */ public static function get_step_name(): string { return 'setSiteOptions'; } /** * Get the schema for the step. * * @param int $version schema version. * * @return array schema for the step */ public static function get_schema( int $version = 1 ): array { return array( 'type' => 'object', 'properties' => array( 'step' => array( 'type' => 'string', 'enum' => array( static::get_step_name() ), ), ), 'required' => array( 'step' ), ); } /** * Prepare the step for JSON serialization. * * @return array array representation of the step */ public function prepare_json_array(): array { return array( 'step' => static::get_step_name(), 'options' => (object) $this->options, ); } }