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.
BP_Media_Model::_fetch_sql( $value )
Fetch SQL
Description
Parameters
- $value
-
(Required)
Return
(string|void)
Source
File: bp-media/classes/class-bp-media-model.php
private static function _fetch_sql( $value ) { global $wpdb; $sql = sprintf( 'SELECT * FROM %s WHERE %s = %%s', self::_table(), static::$primary_key ); return $wpdb->prepare( $sql, $value ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.