Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\URLFilter::disable PHP Метод

disable() публичный Метод

Removes the filter.
С версии: 3.0.0
public disable ( ) : boolean
Результат boolean Whether or not the filter was removed successfully.
    public function disable()
    {
        if (has_filter($this->hook, $this->filter)) {
            remove_filter($this->hook, $this->filter);
            return true;
        }
        return false;
    }