GB_Meta::is_protected
Determine whether a meta key is protected.
Signature
public function is_protected(string
$meta_key,
[string|null
$meta_type = NULL] )
Parameters
$meta_key
— string
Meta key$meta_type
— object
Returns
- bool
- True if the key is protected, false otherwise.
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
913 | 12 | error | Method name "GB_Meta::is_protected" is not in camel caps format |
913 | 12 | error | Visibility must be declared on method "is_protected" |
921 | 11 | error | Whitespace found at end of line |