WC_Product::set_menu_order( int $menu_order )

Set menu order.


Description Description


Parameters Parameters

$menu_order

(int) (Required) Menu order.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

	public function set_menu_order( $menu_order ) {
		$this->set_prop( 'menu_order', intval( $menu_order ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.