WordPress action hook

breakdance_after_save_document

Fired by 4 WordPress plugins, running on 103K+ sites between them.

How to use breakdance_after_save_document

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:

functions.php
add_action( 'breakdance_after_save_document', function( $id ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from WPVibe's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire breakdance_after_save_document

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WPVibe icon WPVibe100,000+ installs do_action( 'breakdance_after_save_document', $id ) includes/class-wpvibe-breakdance.php:278
  2. Bulk Page Generator icon Bulk Page Generator3,000+ installs do_action( 'breakdance_after_save_document', $generated_page_id ) src/service/save_page/additional/pagebuilder/BreakdanceAdapter.php:49
  3. Integration for Breakdance and WPML icon Integration for Breakdance and WPML20+ installs do_action( 'breakdance_after_save_document', $post->ID ) src/Components/BuilderIntegration/MediaUpdater.php:50
  4. FlitAgent icon FlitAgentFewer than 10 installs do_action( 'breakdance_after_save_document', $post_id ) includes/Writes/Builders/class-breakdanceengine.php:100

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.