Advertisement
verygoodplugins

Untitled

Jul 10th, 2020
1,441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. function custom_limit_lookup() {
  2.  
  3.     $args = array(
  4.         'fields'     => 'ID',
  5.         'meta_key'   => 'agilecrm_contact_id',
  6.         'meta_value' => '5348394327343104',
  7.     );
  8.  
  9.     $users = get_users( $args );
  10.  
  11.     return $users;
  12.  
  13. }
  14.  
  15. add_filter( 'wpf_batch_users_sync_init', 'custom_limit_lookup', 20 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement