wp_restore_post_revision
Like this: Like Loading...
Appears in:
wordpress-4.0 ,
wordpress-4.4 ,
wordpress-4.8 ,
wordpress-4.9 ,
wordpress-4.9.4 ,
wordpress-4.9.5 ,
wordpress-4.9.6 ,
wordpress-4.9.7 ,
wordpress-4.9.8 ,
wordpress-5.0 ,
wordpress-5.0.1 ,
wordpress-5.0.2 ,
wordpress-5.0.3 ,
wordpress-5.1 ,
wordpress-5.1.1 ,
wordpress-5.2 ,
wordpress-5.2.1 ,
wordpress-5.2.2 ,
wordpress-5.2.3 ,
wordpress-5.2.4 ,
wordpress-5.3 ,
wordpress-5.3.1 ,
wordpress-5.3.2 ,
wordpress-5.4 ,
wordpress-5.4.1 ,
wordpress-5.4.2 ,
wordpress-5.5 ,
wordpress-5.5.1 ,
wordpress-5.5.2 ,
wordpress-5.5.3 ,
wordpress-5.6 ,
wordpress-5.6.1 ,
wordpress-5.6.2 ,
wordpress-5.7 ,
wordpress-5.7.1 ,
wordpress-5.7.2 ,
wordpress-5.8 ,
wordpress-5.8.1 ,
wordpress-5.8.2 ,
wordpress-5.8.3 ,
wordpress-5.9 ,
wordpress-5.9.1 ,
wordpress-5.9.2 ,
wordpress-5.9.3 ,
wordpress-6.0 ,
wordpress-6.0.1 ,
wordpress-6.0.2 ,
wordpress-6.0.3 ,
wordpress-6.1 ,
wordpress-6.1.1 ,
wordpress-6.2 ,
wordpress-6.2.1 ,
wordpress-6.2.2 ,
wordpress-6.3 ,
wordpress-6.3.1 ,
wordpress-6.3.2 ,
wordpress-6.4 ,
wordpress-6.4.1 ,
wordpress-6.4.2 ,
wordpress-6.4.3 ,
wordpress-6.5 ,
wordpress-6.5.2 ,
wordpress-6.5.3 ,
wordpress-6.5.4 ,
wordpress-6.5.5 ,
wordpress-6.6 ,
wordpress-6.6.1 ,
wordpress-6.6.2 Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-6.6.2
do_action('wp_restore_post_revision') is found 1 times: /wp-includes/revision.php line 511 *
* @param int $post_id Post ID.
* @param int $revision_id Post revision ID.
*/
do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] );
return $post_id;
}
/**
* Restore the revisioned meta values for a post.
Like this: Like Loading...
See this hook used in plugins: Select Plugin jetpack.6.2.1 jetpack.6.4.2 jetpack.6.5 jetpack.6.6.1 jetpack.6.7 jetpack.6.8 jetpack.6.8.1 jetpack.6.9 jetpack.7.0 jetpack.7.0.1 jetpack.7.1.1 jetpack.7.2 jetpack.7.2.1 jetpack.7.3.0 jetpack.7.3.1 jetpack.7.4 jetpack.7.4.1 jetpack.7.5.1 jetpack.7.5.3 jetpack.7.6 jetpack.7.7 jetpack.7.7.1 jetpack.7.7.2 jetpack.7.8 jetpack.7.9 jetpack.7.9.1 jetpack.8.0 jetpack.8.1 jetpack.8.1.1 jetpack.8.2 jetpack.8.2.1 jetpack.8.2.2 jetpack.8.2.3 jetpack.8.3 jetpack.8.4.1 jetpack.8.4.2 jetpack.8.5 jetpack.8.6 jetpack.8.6.1 jetpack.8.8 jetpack.8.8.1 jetpack.8.8.2 jetpack.8.9 jetpack.8.9.1 jetpack.9.0.1 jetpack.9.0.2 jetpack.9.1 jetpack.9.2 jetpack.9.2.1 jetpack.9.3 jetpack.9.3.1 jetpack.9.4 jetpack.9.5 jetpack.9.6 jetpack.9.6.1 jetpack.9.7 jetpack.9.8 jetpack.9.8.1 jetpack.9.9 jetpack.9.9.1 jetpack.10.0 jetpack.10.1 jetpack.10.2 jetpack.10.2.1 jetpack.10.7 jetpack.10.9 jetpack.11.0 jetpack.11.1 jetpack.11.1.2 jetpack.11.2 jetpack.11.3.1 jetpack.11.3.2 jetpack.11.4 jetpack.11.5.1 jetpack.11.6 jetpack.11.8 jetpack.11.8.4 jetpack.11.9 jetpack.11.9.1 jetpack.12.0 jetpack.12.1 jetpack.12.1.1 jetpack.12.2.1 jetpack.12.3 jetpack.12.5 jetpack.12.6 jetpack.12.6.1 jetpack.12.7.1 jetpack.12.8 jetpack.12.8.1 jetpack.12.9 jetpack.12.9.3 jetpack.13.0 jetpack.13.1.1 jetpack.13.1.3 jetpack.13.2 jetpack.13.2.1 jetpack.13.3.1 jetpack.13.5 jetpack.13.6 jetpack.13.7 jetpack.13.8 jetpack.13.8.1 jetpack.13.9.1 jetpack.14.0 advanced-custom-fields.4.4.12 advanced-custom-fields.5.7.6 advanced-custom-fields.5.7.7 advanced-custom-fields.5.7.8 advanced-custom-fields.5.7.9 advanced-custom-fields.5.7.10 advanced-custom-fields.5.7.12 advanced-custom-fields.5.8.0 advanced-custom-fields.5.8.1 advanced-custom-fields.5.8.2 advanced-custom-fields.5.8.3 advanced-custom-fields.5.8.5 advanced-custom-fields.5.8.7 advanced-custom-fields.5.8.8 advanced-custom-fields.5.8.9 advanced-custom-fields.5.8.11 advanced-custom-fields.5.8.12 advanced-custom-fields.5.8.13 advanced-custom-fields.5.8.14 advanced-custom-fields.5.9.0 advanced-custom-fields.5.9.1 advanced-custom-fields.5.9.3 advanced-custom-fields.5.9.4 advanced-custom-fields.5.9.5 advanced-custom-fields.5.9.6 advanced-custom-fields.5.9.7 advanced-custom-fields.5.9.8 advanced-custom-fields.5.9.9 advanced-custom-fields.5.10 advanced-custom-fields.5.10.1 advanced-custom-fields.5.10.2 advanced-custom-fields.5.12 advanced-custom-fields.5.12.1 advanced-custom-fields.5.12.2 advanced-custom-fields.5.12.3 advanced-custom-fields.6.0.2 advanced-custom-fields.6.0.3 advanced-custom-fields.6.0.4 advanced-custom-fields.6.0.5 advanced-custom-fields.6.0.6 advanced-custom-fields.6.0.7 advanced-custom-fields.6.1.4 advanced-custom-fields.6.1.6 advanced-custom-fields.6.1.7 advanced-custom-fields.6.2.0 advanced-custom-fields.6.2.1 advanced-custom-fields.6.2.2 advanced-custom-fields.6.2.3 advanced-custom-fields.6.2.4 advanced-custom-fields.6.2.6.1 advanced-custom-fields.6.2.7 advanced-custom-fields.6.2.9 advanced-custom-fields.6.3.1 advanced-custom-fields.6.3.2 advanced-custom-fields.6.3.3 advanced-custom-fields.6.3.5 advanced-custom-fields.6.3.6 advanced-custom-fields.6.3.6.3 advanced-custom-fields.6.3.10.2 siteorigin-panels.2.7.3 siteorigin-panels.2.8.2 siteorigin-panels.2.9.0 siteorigin-panels.2.9.1 siteorigin-panels.2.9.2 siteorigin-panels.2.9.5 siteorigin-panels.2.9.7 siteorigin-panels.2.10.0 siteorigin-panels.2.10.1 siteorigin-panels.2.10.2 siteorigin-panels.2.10.3 siteorigin-panels.2.10.5 siteorigin-panels.2.10.6 siteorigin-panels.2.10.7 siteorigin-panels.2.10.9 siteorigin-panels.2.10.10 siteorigin-panels.2.10.11 siteorigin-panels.2.10.12 siteorigin-panels.2.10.13 siteorigin-panels.2.10.14 siteorigin-panels.2.10.15 siteorigin-panels.2.10.16 siteorigin-panels.2.10.17 siteorigin-panels.2.11.0 siteorigin-panels.2.11.1 siteorigin-panels.2.11.2 siteorigin-panels.2.11.3 siteorigin-panels.2.11.4 siteorigin-panels.2.11.5 siteorigin-panels.2.11.6 siteorigin-panels.2.11.7 siteorigin-panels.2.11.8 siteorigin-panels.2.12.0 siteorigin-panels.2.12.1 siteorigin-panels.2.12.2 siteorigin-panels.2.12.3 siteorigin-panels.2.12.4 siteorigin-panels.2.12.5 siteorigin-panels.2.12.6 siteorigin-panels.2.13.0 siteorigin-panels.2.13.1 siteorigin-panels.2.13.2 siteorigin-panels.2.14.0 siteorigin-panels.2.14.1 siteorigin-panels.2.14.2 siteorigin-panels.2.14.3 siteorigin-panels.2.15.0 siteorigin-panels.2.16.5 siteorigin-panels.2.16.8 siteorigin-panels.2.16.11 siteorigin-panels.2.16.13 siteorigin-panels.2.16.14 siteorigin-panels.2.16.15 siteorigin-panels.2.16.17 siteorigin-panels.2.16.18 siteorigin-panels.2.16.19 siteorigin-panels.2.17.0 siteorigin-panels.2.18.2 siteorigin-panels.2.18.4 siteorigin-panels.2.19.0 siteorigin-panels.2.20.0 siteorigin-panels.2.20.3 siteorigin-panels.2.20.4 siteorigin-panels.2.20.5 siteorigin-panels.2.20.6 siteorigin-panels.2.21.1 siteorigin-panels.2.22.1 siteorigin-panels.2.23.0 siteorigin-panels.2.24.0 siteorigin-panels.2.25.0 siteorigin-panels.2.25.2 siteorigin-panels.2.25.3 siteorigin-panels.2.26.0 siteorigin-panels.2.26.1 siteorigin-panels.2.26.2 siteorigin-panels.2.27.0 siteorigin-panels.2.28.0 siteorigin-panels.2.29.3 siteorigin-panels.2.29.4 siteorigin-panels.2.29.5 siteorigin-panels.2.29.6 siteorigin-panels.2.29.8 siteorigin-panels.2.29.9 siteorigin-panels.2.29.15 siteorigin-panels.2.29.16 siteorigin-panels.2.29.17 siteorigin-panels.2.29.18 siteorigin-panels.2.29.20 siteorigin-panels.2.29.22 siteorigin-panels.2.30.0 elementor.2.2.4 gutenberg.16.5.1 gutenberg.16.6.0 gutenberg.16.8.1 gutenberg.16.9.0 gutenberg.17.0.2 gutenberg.17.1.2 gutenberg.17.2.3 gutenberg.17.3.0 gutenberg.17.4.1 gutenberg.17.5.0 gutenberg.17.5.2 gutenberg.17.6.5 gutenberg.17.7.0 gutenberg.17.8.0 gutenberg.17.8.2 gutenberg.17.9.0 gutenberg.18.2.0 gutenberg.18.5.0 gutenberg.18.6.1 gutenberg.18.7.1 gutenberg.18.9.0