LLMS_Database_Query::query()
Execute a query.
Contents
Return Return
(void)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
/** * Throws a deprecation message when a formerly public property is accessed directly. * * @since 6.0.0 * * @param string $prop Property name. * @return void */ private function public_prop_deprecation( $prop ) { $legacy_props = $this->legacy_public_props(); list( $val, $has_replacement ) = $legacy_props[ $prop ]; $class = get_called_class(); $is_method = method_exists( $this, $val ); $suffix = $is_method ? '()' : ''; _deprecated_function( "Public access to property {$class}::{$prop}", '6.0.0', $has_replacement ? "{$class}::{$val}{$suffix}" : '' ); } /** * Preserve backwards compat for read access to formerly public and removed class properties. *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.5.1 | Drop use of $this->get_filter('prepare_query') in favor of "llms_{$this->id}_query_prepare_query" . |
3.8.0 | Introduced. |