How to create a custom method in a PHP class to add a filter to an ACF select field