WC_Settings_Emails::run_email_admin_options()
Run the 'admin_options' method on a given email. This method exists to easy unit testing.
Method of the class: WC_Settings_Emails{}
No Hooks.
Return
null
. Nothing.
Usage
// 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.
WC_Settings_Emails::run_email_admin_options() WC Settings Emails::run email admin options code WC 7.5.1
protected function run_email_admin_options( $email ) { $email->admin_options(); }