Easy Property Listings 3.5.14 Code Reference
  • Package
  • Class
  • Tree
  • Todo
  • Hook Reference

Packages

  • EPL
    • Admin
      • Actions
      • Classes
        • ContactsTable
        • ReportsGraph
        • Welcome
      • Contacts
      • ContactsActions
      • ContactsFunctions
      • Elements
      • Functions
      • Help
      • HelpSingle
      • Menus
      • MenusAddons
      • MenusExtensions
      • MenusLicenses
      • Plugins
      • Reports
      • ReportsGraphing
      • User
    • Assets
      • ScriptsStyles
      • SVG
    • Classes
      • AuthorLoader
      • AuthorMeta
      • Contact
      • Cron
      • CustomPostType
      • Forms
      • License
      • ListingAdvanced
      • ListingElements
      • MetaboxesCustomFields
      • Pagination
      • PropertyMeta
      • RenderFields
      • RestAPI
      • Search
      • Session
      • Updater
    • Compatibility
      • Extensions
      • Functions
      • Shortcodes
    • Functions
      • Actions
      • ConditionalTags
      • ErrorTracking
      • Formatting
      • Front
      • Global
      • Install
      • Pagination
      • Settings
      • Templates
    • Hooks
      • EnergyCertificate
      • ExternalLinks
      • FloorPlan
      • Map
      • ReadMore
      • WebLink
    • Meta
      • InitCustomFields
      • Meta
    • PostTypes
      • Business
      • Commercial
      • CommercialLand
      • Contact
      • Functions
      • Land
      • Property
      • Rental
      • Rural
    • Shortcode
      • CommercialListingSearch
      • ContactForm
      • Listing
      • ListingAdvanced
      • ListingAuction
      • ListingCategory
      • ListingFeature
      • ListingLocation
      • ListingMetaDoc
      • ListingOpen
      • ListingResults
      • ListingSearch
      • Map
    • Taxonomy
      • BusinessCategories
      • ContactTag
      • Features
      • Location
    • Templates
      • Themes
        • iThemes
        • iThemesBuilder
    • Widget
      • Admin
        • Dashboard
      • Classes
        • Author
        • ContactCapture
        • Gallery
        • Listing
        • Search
      • Functions
  • None
  • WordPress
    • Session

Classes

  • EPL_SEARCH
  • EPL_Search_Fields

Class EPL_Search_Fields

EPL_Search_Fields Class

Package: EPL\Classes\Search
Copyright: Copyright (c) 2019, Merv Barrett
License: GNU Public License
Author: Taher Atashbar taher.atashbar@gmail.com
Since: 3.0
Located at lib/includes/class-epl-search-fields.php

Methods summary

public
# init( )

Initialize hooks.

Initialize hooks.

Since

3.0
public
# render_text( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Text field.

Renders search frontend Text field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.5.10 Icon support added.
public
# render_checkbox( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Checkbox field.

Renders search frontend Checkbox field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.5.10 Icon support added.
public
# render_select( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Select field.

Renders search frontend Select field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.5.10 Icon support added.
public
# render_multiple_select( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Multiple Select field.

Renders search frontend Multiple Select field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.4.36 Fix: Corrected issue with multi select where values are numbers.
3.4.48 Tweak: Accessibility label added for select field.
3.5.10 Icon support added.
public
# render_number( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Number field.

Renders search frontend Number field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.5.10 Icon support added.
public
# render_hidden( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Hidden field.

Renders search frontend Hidden field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
public
# render_radio( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Radio field.

Renders search frontend Radio field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0
3.5.10 Icon support added.
public
# render_checkbox_multiple( array $field, string $config = '', string $value = '', string $post_type = '', string $property_status = '' )

Renders search frontend Radio field.

Renders search frontend Radio field.

Parameters

$field
The field.
$config
Configuration.
$value
Value.
$post_type
Post type name.
$property_status
Listing status.

Since

3.0.0
3.4.22 For attribute added for checkbox labels.
3.5.10 Icon support added.
Easy Property Listings 3.5.14 Code Reference API documentation generated by ApiGen