WordPress at Your Fingertips
function is not described

WC_Settings_Emails::run_email_admin_options() protected WC 1.0

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

{} It's a method of the class: WC_Settings_Emails{}

No Hooks.


null. Nothing.


// protected - for code of main (parent) or child class
$result = $this->run_email_admin_options( $email );
$email(object) (required)
The email object to run the method on.

Code of WC_Settings_Emails::run_email_admin_options() WC 5.9.0

protected function run_email_admin_options( $email ) {