wpbdp_admin_listing_owner_mode

Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.

Force the user dropdown to autocomplete or not. By default, it will show the ajax list for users in the listing edit page.

Usage

add_filter( 'wpbdp_admin_listing_owner_mode', 'wpbdp_admin_listing_owner_mode' );

Parameters

The values for the return string are either:

  • inline for inline (show all users)
  • ajax for ajax select mode (type to search for a user)

Examples

Turn of autocomplete

add_filter( 'wpbdp_admin_listing_owner_mode', 'wpbdp_admin_listing_owner_mode' );
function wpbdp_admin_listing_owner_mode( $mode ) {
	return 'inline';
}

Change Log

Added in version 5.14

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support