WC_Shipping_Method::admin_options()publicWC 1.0

Output the shipping settings screen.

Method of the class: WC_Shipping_Method{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->admin_options();

WC_Shipping_Method::admin_options() code WC 8.7.0

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
}