Hooks: Action and Filter reference

Introduction

Easy Property Listings has been developed with extensibility and modification in mind using hooks and filters. 

With this development requirement the plugin has been filled with filters and hooks that allow you to modify the plugins default behaviour.

Hooks are provided by WordPress and Easy Property Listings to allow your plugin or theme to ‘hook into’ the code; that is, to alter the default behaviour using filters or to insert additional elements into templates using hooks.

This for a WordPress developer is an essential requirement to meet the needs and wants of your real estate customers. 

This is even more handy if you are going to develop a number of real estate sites with similar functionality as you can bundle your customisations in a separate plugin to use on all your projects.

While there are a number of filters documented here in the codex in detail, these are only a tiny fraction of the 300+ filters and hooks. For details on what the hooks and filters do, reference the:

Filters and Hooks docs reference 

A number of the filters are dynamic in nature allowing you to make all kinds of alterations to the code base in Easy Property Listings. 

Hooks and Filters

There are two kinds of hooks:

  1. Actions: Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. 
  2. Filters: Filters are the hooks that WordPress launches to modify text of various types before adding it to the database or sending it to the browser screen. 

We recommend you use download and customise the  epl-filters.zip plugin to store your modifications. This allows you to update the EPL plugin and retain your custom changes. You can also re-use your customisations on other websites you build too, saving a heap of time with endless flexibility.

For examples see:  actions and filters

API Documentation

For a comprehensive view of the Easy Property Listings API, see the  API Documentation.