Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
![](http://ticnews.com.br/wp-content/uploads/2018/08/programacao.jpg)
EVENTOS
, $key ) {
$function = 'get_' . $this->_object . '_meta';
return $function( $object_id, $key, true );
}
/**
* Create new entry if it does not exist.
*
* @param string $object_id ID of object to store.
* @param string $key Key particle for ID to store.
* @param mixed $value Serializable value to store.
*
* @return bool Success.
*/
protected function _add( $object_id, $key, $value ) {
$function = 'add_' . $this->_object . '_meta';
return $function( $object_id, $key, $value, true );
}
/**
* Update existing entry.
*
* @param string $object_id ID of object to store.
* @param string $key Key particle for ID to store.
* @param mixed $value Serializable value to store.
*
* @return bool Success.
*/
protected function _update( $object_id, $key, $value ) {
$function = 'update_' . $this->_object . '_meta';
return $function( $object_id, $key, $value );
}
/**
* Remove object entry based on ID and key.
*
* @param string $object_id ID of object to remove.
* @param string $key Key particle for ID to remove.
*
* @return bool Success.
*/
protected function _delete( $object_id, $key ) {
$function = 'delete_' . $this->_object . '_meta';
return $function( $object_id, $key );
}
/**
* Generate key for use with cache engine.
*
* @param string $object_id ID of object.
* @param string $key Key particle for ID.
*
* @return string Single identifier for given keys.
*/
protected function _cache_key( $object_id, $key ) {
static $separator = "\0";
return $object_id . $separator . $key;
}
}