M_ping_movedsub

The Membership 2 M ping movedsub function.

Description

Parameters (6)

0. $fromsub_id
The fromsub id.
1. $fromlevel_id
The fromlevel id.
2. $tosub_id
The tosub id.
3. $tolevel_id
The tolevel id.
4. $to_order
The to order.
5. $user_id
The user id.

Usage

  1. if ( !function_exists( 'M_ping_movedsub' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'membership-2/app_old/membershipincludes/classes/class.ping.php'; 
  3.  
  4. // The fromsub id. 
  5. $fromsub_id = null; 
  6.  
  7. // The fromlevel id. 
  8. $fromlevel_id = null; 
  9.  
  10. // The tosub id. 
  11. $tosub_id = null; 
  12.  
  13. // The tolevel id. 
  14. $tolevel_id = null; 
  15.  
  16. // The to order. 
  17. $to_order = null; 
  18.  
  19. // The user id. 
  20. $user_id = null; 
  21.  
  22. // NOTICE! Understand what this does before running. 
  23. $result = M_ping_movedsub($fromsub_id, $fromlevel_id, $tosub_id, $tolevel_id, $to_order, $user_id); 
  24.  

Defined (1)

The function is defined in the following location(s).

/app_old/membershipincludes/classes/class.ping.php  
  1. function M_ping_movedsub( $fromsub_id, $fromlevel_id, $tosub_id, $tolevel_id, $to_order, $user_id ) { 
  2.  
  3. M_ping_leftsub( $fromsub_id, $fromlevel_id, $user_id ); 
  4. M_ping_joinedsub( $tosub_id, $tolevel_id, $to_order, $user_id ); 
  5.