lloc\Msls\MslsCustomFilter
Adding custom filter to posts/pages table.
Synopsis
class MslsCustomFilter
extends MslsMain
{
- // Inherited members from MslsMain
- protected MslsOptions $options;
- protected MslsBlogCollection $collection;
- // methods
- public static MslsCustomFilter init()
- public void add_filter()
- public WP_Query execute_filter()
- // Inherited methods from MslsMain
- public void __construct()
- public static MslsMain init()
- public void debugger()
- public array get_input_array()
- public bool is_autosave()
- public boolean verify_nonce()
- public void delete()
- protected void save()
Hierarchy
Extends
Members
protected
- $collection — lloc\Msls\MslsBlogCollection
- $options — lloc\Msls\MslsOptions
Methods
public
- add_filter() — Echo's select tag with list of blogs
- execute_filter() — Executes filter, excludes translated posts from WP_Query
- init() — Init
Inherited from lloc\Msls\MslsMain
protected
- save() — Save
public
- debugger() — Prints a message in the error log if WP_DEBUG is true
- delete() — Delete
- get_input_array() — Get the input array
- init() — Factory
- is_autosave() — Checks if the current input comes from the autosave-functionality
- verify_nonce() — Checks for the nonce in the INPUT_POST