PHP 클래스 Jetpack_Sync_Module_Meta, jetpack

상속: extends Jetpack_Sync_Module
파일 보기 프로젝트 열기: automattic/jetpack

공개 메소드들

메소드 설명
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 ( )