WordPress at Your Fingertips
function is not described

WC_API_Products::get_product_menu_order() private WC 2.5.3

Get product menu order.

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

Hooks from the method
Return

Int.

Usage

// private - for code of main (parent) class only
$result = $this->get_product_menu_order( $product );
$product(WC_Product) (required)
-

Changelog

Since 2.5.3 Introduced.

Code of WC_API_Products::get_product_menu_order() WC 5.7.1

private function get_product_menu_order( $product ) {
	$menu_order = $product->get_menu_order();

	return apply_filters( 'woocommerce_api_product_menu_order', $menu_order, $product );
}