Builder::class_enable_query_execution( bool $class_execute_queries )
Sets the class-wide queries execution toggle that will enable or disable the execution of queries overriding the per-instance value of the $execute_queries flag.
Contents
See also
- Builder::enable_query_execution(): to set the flag on a per-instance basis
Parameters
- $class_execute_queries
-
(bool) (Required) Whether to enable or disable the execution of queries class-wide.
Source
File: src/Events/Custom_Tables/V1/Models/Builder.php
public static function class_enable_query_execution( $class_execute_queries ) {
self::$class_execute_queries = $class_execute_queries;
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |