WC_Shipping_Method::admin_options
Output the shipping settings screen.
Method of the class: WC_Shipping_Method{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->admin_options();
WC_Shipping_Method::admin_options() WC Shipping Method::admin options code WC 10.6.2
public function admin_options() {
if ( ! $this->instance_id ) {
echo '<h2>' . esc_html( $this->get_method_title() ) . '</h2>';
}
echo wp_kses_post( wpautop( $this->get_method_description() ) );
echo $this->get_admin_options_html(); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
}