Some links on this website are affiliate links. Find out more.

Documentation:
Hide & Show PRO

Custom Filter

If you’re comfortable writing PHP and are familiar with WordPress filters, the Custom Filter Component can be used to create your very own conditional display-logic functions.

A) Filter

Here you can enter a custom filter tag for your function. If left blank, a default filter tag will be generated based on the Preset’s title.

B) Callback

Here you can enter a custom callback name for your function. If left blank, a default callback name will be generated based on the Preset’s title.

C) Code

This automatically generated starter code can be copied pasted into your functions.php file.

Note: This component is for advanced users only. Information on writing PHP and WordPress filter functions is beyond the scope of this document.

Still need help?

If you didn’t find what you were looking for, please contact us.