WC_Settings_Page::__construct()
Constructor.
Метод класса: WC_Settings_Page{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Settings_Page = new WC_Settings_Page(); $WC_Settings_Page->__construct();
Код WC_Settings_Page::__construct() WC Settings Page:: construct WC 9.3.1
public function __construct() { add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_page' ), 20 ); add_action( 'woocommerce_sections_' . $this->id, array( $this, 'output_sections' ) ); add_action( 'woocommerce_settings_' . $this->id, array( $this, 'output' ) ); add_action( 'woocommerce_settings_save_' . $this->id, array( $this, 'save' ) ); add_action( 'woocommerce_admin_field_add_settings_slot', array( $this, 'add_settings_slot' ) ); }