Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Database_Query::public_prop_deprecation( string $prop )
Throws a deprecation message when a formerly public property is accessed directly.
Parameters Parameters
- $prop
-
(string) (Required) Property name.
Return Return
(void)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
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}" : '' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |