PHP Класс Jetpack_Sync_Module_Meta, jetpack

Наследование: extends Jetpack_Sync_Module
Показать файл Открыть проект

Открытые методы

Метод Описание
get_objects_by_id ( string $object_type, array $config ) : array This implementation of get_objects_by_id() is a bit hacky since we're not passing in an array of meta IDs, but instead an array of post or comment IDs for which to retrieve meta for. On top of that, we also pass in an associative array where we expect there to be 'meta_key' and 'ids' keys present.
name ( )

Описание методов

get_objects_by_id() публичный Метод

This seemed to be required since if we have missing meta on WP.com and need to fetch it, we don't know what the meta key is, but we do know that we have missing meta for a given post or comment.
public get_objects_by_id ( string $object_type, array $config ) : array
$object_type string The type of object for which we retrieve meta. Either 'post' or 'comment'
$config array Must include 'meta_key' and 'ids' keys
Результат array

name() публичный Метод

public name ( )