WC_Settings_Emails::run_email_admin_options()protectedWC 1.0

Run the 'admin_options' method on a given email. This method exists to easy unit testing.

Метод класса: WC_Settings_Emails{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->run_email_admin_options( $email );
$email(объект) (обязательный)
The email object to run the method on.

Код WC_Settings_Emails::run_email_admin_options() WC 8.7.0

protected function run_email_admin_options( $email ) {
	$email->admin_options();
}