Action – Sort Interface – on Order Update

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


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_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_order_update_complete', 'custom_apto_order_update_complete');
function custom_apto_order_update_complete($sort_view_id)
	{
		//your code here  
        }
API Index