bp_optout_before_update, $where_args, $update_args

bp_optout_before_update, $where_args, $update_args

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_optout_before_update, $where_args, $update_args') is found 1 times:

  • /bp-core/classes/class-bp-optout.php line 727
    		 * @param array $where_args  Associative array of columns/values describing
    		 *                           opt-outs about to be deleted.
    		 * @param array $update_args Array of new values.
    		 */
    		do_action( 'bp_optout_before_update', $where_args, $update_args );
    
    		$retval = self::_update( $update['data'], $where['data'], $update['format'], $where['format'] );
    
    		// Clear matching items from the cache.
    		$cache_args           = $where_args;
    		$cache_args['fields'] = 'ids';