Documentation - Actions / Filters - Action – Sort Interface – on Order Update

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Action – Sort Interface – on Order Update

This action can be used to trigger certain code on a sort interface update complete. The action trigger on Re-Order interface, for default Post Type interface order complete action, see Action – Default Post Type Interface – on Order Update

apto/reorder-interface/order_update_complete

Parameters
The action send through a single array of arguments. Depending on the sort type and included post types (e.g. archive, hierarchical, simple sort), the list can contain the following:

  • ‘sort_view_id’ – sort view ID being updated

Examples

add_action('apto/reorder-interface/order_update_complete', 'custom_apto_order_update_complete');
function custom_apto_order_update_complete( $sort_view_id )
	{
		//your code here  
        }