WordPress at Your Fingertips
function is not described

WC_Shipping_Method::admin_options() public WC 1.0

Output the shipping settings screen.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Shipping_Method::admin_options() WC 5.8.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
}