Actions and Filters for Developer

In this post, I’ll add all actions, filters and any developer related updates.

Filters

rm_before_save_parameters_keys:

Catch all parameter keys before saving them in Database after creating or editing connection.

parameters:  $arr: array of parameter keys.

rm_pre_display_results:

Add CSS or JS scripts to results template before displaying it.

parameters:  $content: HTML content of the JS code that implements the request.

rm_edit_results_array:

Get results array after the request fulfilled to add more items or edit it.

parameters:  $arr: array of request results.

Actions

rm_store_results_db:

If you’ve chosen o save request results to DB. Add a different query inside this action.

parameters: $arr: array of request results.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s