- Hook: do_action( ‘wpcumanage_before_user_table’, $wpcumanage_query )
Copy and paste this code on your active theme’s functions.php file
function wpcumanage_before_user_table_callback( $wpcumanage_query ){
echo 'wpcumanage_before_user_table hook is executed here...';
// do stuff here
}
add_action( 'wpcumanage_before_user_table', 'wpcumanage_before_user_table_callback', 10, 1 );

-
Hook: do_action( 'wpcumanage_user_table_header' ), do_action( 'wpcumanage_user_table_data', $user )
function wpcumanage_user_table_header_callback( ){
echo "<th>Custom Table Header</th>";
}
add_action( 'wpcumanage_user_table_header', 'wpcumanage_user_table_header_callback' );
function wpcumanage_user_table_data_callback( $user ){
echo "<td>Custom Table Data</td>";
}
add_action( 'wpcumanage_user_table_data', 'wpcumanage_user_table_data_callback', 10, 1 );

-
Hook: do_action( 'wpcumanage_after_user_table', $wpcumanage_query )
function wpcumanage_after_user_table_callback( $wpcumanage_query ){
echo 'wpcumanage_after_user_table_callback is executed here...';
// do stuff here
}
add_action( 'wpcumanage_after_user_table', 'wpcumanage_after_user_table_callback' );

-
Hook: do_action( 'wpcumanage_after_user_table_pagination', $wpcumanage_query )
function wpcumanage_after_user_table_pagination_callback( $wpcumanage_query ){
echo 'wpcumanage_after_user_table_pagination is executed here...';
// do stuff here
}
add_action( 'wpcumanage_after_user_table_pagination', 'wpcumanage_after_user_table_pagination_callback' );
