Provider::noop( bool $noop )
Puts the Service Provider in a no-op mode, any method hooked to actions will not run, any method hooked to filters will return the filter input value.
Contents
Calling unregister and register while an action or filter are being applied will not remove them and will, instead, cause them to be added twice.
Parameters
- $noop
-
(bool) (Required) Whether the Service Provider should be in no-op mode or not.
Return
(void) The Service Provider is put in no-op mode.
Source
File: src/Events_Pro/Custom_Tables/V1/WP_Query/Provider.php
public function noop( bool $noop ): void {
$this->noop = $noop;
}
Changelog
| Version | Description |
|---|---|
| 6.0.4 | Introduced. |