Filters

Filters give you the ability to change data during the execution of WordPress. Callback functions for Filters will accept a variable, modify it, and return it. They are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. Filters expect to have something returned back to them.

https://developer.wordpress.org/plugins/hooks/filters/

list_cats

Filters a taxonomy drop-down display element.

Description

A variety of taxonomy drop-down display elements can be modified just prior to display via this filter. Filterable arguments include 'showoptionnone', 'showoptionall', and various forms of the term name.

Parameters

$r['show_option_none']

()

null

()

tkt_scs_custom_inner_shortcodes

Filter the list of custom shortcodes that can be used inside other shortcodes or as HTML attribute values.

Parameters

$custom_shortcodes

(array) List of shortcodes.

tkt_post_process_shortcodes

Expand ShortCodes inside a Looop.

Description

All Loops are base64 encoded so WordPress does not mess with our content. We decode this in %1$s. Once decoded, it will resolve the inner shortcodes (used as attributes to other ShortCodes) using %2$s Then, it resolves ShortCodes inside HTML attributes (which are at this points still using {{shortcode}})

Since the content returned from there still has ShortCodes inside, which are normally expandable by WordPress we pass the processed content thru doshortcode.

Only then the output of a loop is fully expanded and can be passed to the Loop shortcode to be returned.

Parameters

$content

(mixed) The Content to preprocess ShortCodes therein.

tkt_src_fltr_query_args

Allow this Query to be filterd.

Description

Other plugins or users might want to alter the Query programmatically. For example, to exclude some posts in a Certain Category, you can use this filter.

Parameters

$query_args

(array) { The query arguments of the WP Query. Default: WP Query Args passed to the Search and Filter instance. Accepts: valid WP Query arguments.

}

$this->instance

()

tkt_src_fltr_user_select_search_show

Filter tkt_src_fltr_user_select_search_show for the User Select Search "Show" Value.

Description

We do not have a GUI for this, as it is too many-versed. Instead, we offer a Filter.

Parameters

$usr_show_value

(string) The value to show for the select dropdowns. Default: 'displayname'. Accepts: any user field, or 'displaynamewithlogin' to show the display name with userlogin in parentheses.

Search results