MetaWithModifiedDate.php 219 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 <?php namespace ACP\Editing\Storage\Post; class MetaWithModifiedDate extends Meta { public function update( int $id, $data ): bool { wp_update_post( [ 'ID' => $id ] ); return parent::update( $id, $data ); } }