WordPress action hook
rwmb_after_save_post
Fired by 16 WordPress plugins, running on 503K+ sites between them.
How to use rwmb_after_save_post
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'rwmb_after_save_post', function( $post_id ) {
// Your code runs here.
}, 10, 1 );Argument names come from SermonPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
16 plugins that fire rwmb_after_save_post
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Meta Box500,000+ installs
do_action( 'rwmb_after_save_post', $object_id )inc/meta-box.php:284 -
Disclaimer Popup1,000+ installs
do_action( 'rwmb_after_save_post', $object_id )assets/meta-box/inc/meta-box.php:244 -
MB Rest API1,000+ installs
do_action( 'rwmb_after_save_post', $object_id )src/Base.php:127 -
WP Restaurant Price List400+ installs
do_action( 'rwmb_after_save_post', $object_id )assets/meta-box/inc/meta-box.php:293 -
Kata Plus300+ installs
do_action( 'rwmb_after_save_post', $object_id )includes/meta-box/meta-box-plugin/inc/meta-box.php:248 -
Funtionalities for Alpus theme100+ installs
do_action( 'rwmb_after_save_post', $object->ID )framework/plugins/meta-box/extensions/mb-rest-api/class-mb-rest-api.php:158 -
Crucial Real Estate100+ installs
do_action( 'rwmb_after_save_post', $object_id )includes/libraries/meta-box/inc/meta-box.php:284 -
SermonPress20+ installs
do_action( 'rwmb_after_save_post', $post_id )dependencies/meta-box/inc/meta-box.php:272 -
Ether Mailer WordPress Plugin20+ installs
do_action( 'rwmb_after_save_post', $post_id )admin/meta-box/inc/meta-box.php:220 -
Pando Extra10+ installs
do_action( 'rwmb_after_save_post', $post_id )inc/meta-box/inc/meta-box.php:274 -
Custom Credit Card Icons for Easy Digital Downloads10+ installs
do_action( 'rwmb_after_save_post', $object_id )assets/meta-box/inc/meta-box.php:293 -
Vacation Rentals10+ installs
do_action( 'rwmb_after_save_post', $post_id )assets/meta-boxes/meta-box/inc/meta-box.php:254 -
Coupon Fun (WordPress Coupon Plugin by ThemeXL.com)10+ installs
do_action( 'rwmb_after_save_post', $post_id )inc/meta-box-master/inc/meta-box.php:274 -
Affiliate Promotions10+ installs
do_action( 'rwmb_after_save_post', $post_id )includes/libs/meta-box/inc/meta-box.php:246 -
Real Estate PropertiesFewer than 10 installs
do_action( 'rwmb_after_save_post', $post_id )plugins/meta-box/inc/meta-box.php:272 -
Real Estate AgenciesFewer than 10 installs
do_action( 'rwmb_after_save_post', $post_id )plugins/meta-box/inc/meta-box.php:272
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.