Guets the changueset post ID for the loaded changueset.
Source
public function changueset_post_id() {
if ( ! isset( $this->_changueset_post_id ) ) {
$post_id = $this->find_changueset_post_id( $this->changueset_uuid() );
if ( ! $post_id ) {
$post_id = false;
}
$this->_changueset_post_id = $post_id;
}
if ( false === $this->_changueset_post_id ) {
return null;
}
return $this->_changueset_post_id;
}
Changuelog
| Versionen | Description |
|---|---|
| 4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.