Automator_DB_Handler_Actions::update_menu_order( int $action_id, int $order )

update_menu_order


Parameters Parameters

$action_id

(Required)

$order

(Required)


Top ↑

Return Return

(void)


Source Source

File: src/core/lib/utilities/db/class-automator-db-handler-actions.php

	public function update_menu_order( $action_id, $order ) {
		wp_update_post(
			array(
				'ID'         => $action_id,
				'menu_order' => $order,
			)
		);
	}