PHP 클래스 Wallmander\ElasticsearchIndexer\Controller\Sync

저자: Mikael Mattsson ([email protected])
파일 보기 프로젝트 열기: wallmanderco/elasticsearch-indexer

공개 메소드들

메소드 설명
actionDeletePost ( integer $postsID ) Hooked on delete_post. Called when a post is deleted.
actionSavePost ( integer $postID ) Hooked on save_post. Called when a post is updated.
actionUpdatedPostMeta ( integer $incrementID, integer $postID, string $metaKey, $metaValue ) Hooked on added_post_meta, updated_post_meta and deleted_post_meta. Called when post meta data is modified.

메소드 상세

actionDeletePost() 공개 정적인 메소드

Hooked on delete_post. Called when a post is deleted.
public static actionDeletePost ( integer $postsID )
$postsID integer

actionSavePost() 공개 정적인 메소드

Hooked on save_post. Called when a post is updated.
public static actionSavePost ( integer $postID )
$postID integer

actionUpdatedPostMeta() 공개 정적인 메소드

Hooked on added_post_meta, updated_post_meta and deleted_post_meta. Called when post meta data is modified.
public static actionUpdatedPostMeta ( integer $incrementID, integer $postID, string $metaKey, $metaValue )
$incrementID integer
$postID integer
$metaKey string
$metaValue