Files
branddefense.pl/wp-content/plugins/brizy/admin/post/project-post-monitor.php
Roman Pyrih c2e100a763 first commit
2023-07-24 08:30:51 +02:00

22 lines
468 B
PHP

<?php
class Brizy_Admin_Post_ProjectPostMonitor extends Brizy_Admin_Post_AbstractMonitor {
/**
* Brizy_Admin_Post_ProjectPostMonitor constructor.
*/
public function __construct() {
parent::__construct( 'brizy-project', array( 'brizy-project','brizy_data_version' ) );
}
/**
* @param $postId
* @param $postType
*
* @return bool|mixed
*/
public function shouldStoreMetaRevision( $postId, $postType ) {
return $this->postType == $postType;
}
}