GB_Meta::get_by_mid
Get meta data by meta ID
Signature
public function get_by_mid(string
$meta_type,
int
$meta_id )
Parameters
$meta_type
—
string
Type of object metadata is for (e.g., comment, post, or user)
$meta_id
—
int
ID for a specific meta row
Returns
- Meta object or false.
Violations
Checkstyle
Line |
Column |
Severity |
Message |
652 |
12 |
error
|
Method name "GB_Meta::get_by_mid" is not in camel caps format |
652 |
12 |
error
|
Visibility must be declared on method "get_by_mid" |
670 |
9 |
error
|
Inline control structures are not allowed |
673 |
9 |
error
|
Inline control structures are not allowed |