WordPress Business Directory Plugin

  • Features
  • Pricing
  • Blog
  • Support
  • Login
  • Get Started

wpbdp_admin_listing_owner_mode

Last Updated: October 16, 2021

  1. Home
  2. Knowledge Base
  3. Customizations
  4. Hooks - For Developers
  5. 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

  • wpbdp_custom_strings
  • wpbdp_region_find_args
  • wpbdp_field_schema_org
  • wpbdp_paid_listing_status
  • wpbdp_use_template_[template id]
  • wpbdp_skip_page_1

Topics

  • Usage
  • Parameters
  • Examples
    • Turn of autocomplete
  • Change Log

Quick Links

  • Getting Started Guide
  • Knowledge Base
  • Change Log

Build Easy Directory Listings

Our WordPress directory plugin will help you create the online listings website you've been planning. And with our 14-day risk-free trial, there's no reason to wait.
Start earning customers today.

Get Business Directory Now

Resources

  • Blog
  • Contact
  • Video Tutorials
  • Affiliates
  • Best Directory Websites Showcase
  • Demo

Purchase

  • Pricing
  • Business Directory Themes
  • Free Business Directories

Our Brands

  • Formidable Forms
  • AWP Classifieds

Business Directory Plugin for WordPress

Copyright © 2010–2022 Strategy11 LLC
Privacy Policy | Terms of Service | Sitemap

Join 20,000+ using Business Directory Plugin to build website directories fast. Get Started See User Reviews