You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic output will be a list with the number and label of the versions. The verbose output will be more detailed with information such as the revision associated with the version, the date of the version/revision, and other relevant information.
Hide Version
wp post-version hide [post_id] [version_number]
Hides a version of a post.
Unhide Version
wp post-version unhide [post_id] [version_number]
Unhides a version of a post.
Delete Version
wp post-version delete [post_id] [version_number]
Deletes a post's version.
Considerations
Since we have a command for listing all the versions of a post, it might be useful to have a command to see the information of a single version.
The text was updated successfully, but these errors were encountered:
The following are the CLI commands necessary for version information and control.
The post version CLI prefix will be
post-version
Commands
Versions Information
wp post-version versions [post_id] [-v] [--verbose]
Lists the versions of a post.
The basic output will be a list with the number and label of the versions. The verbose output will be more detailed with information such as the revision associated with the version, the date of the version/revision, and other relevant information.
Hide Version
wp post-version hide [post_id] [version_number]
Hides a version of a post.
Unhide Version
wp post-version unhide [post_id] [version_number]
Unhides a version of a post.
Delete Version
wp post-version delete [post_id] [version_number]
Deletes a post's version.
Considerations
The text was updated successfully, but these errors were encountered: