rwmb_flush_data

rwmb_flush_data

Hook Type: action

See hook in core

Displaying hooks found in version: wp-stateless.4.0.3

do_action('rwmb_flush_data') is found 3 times:

  • /vendor/wpmetabox/meta-box/inc/functions.php line 57
     
    		RWMB_Field::call( $field, 'save', $new, $old, $object_id );
    
    		// For MB Custom Table to flush data from the cache to the database.
    		do_action( 'rwmb_flush_data', $object_id, $field, $args );
    	}
    }
    
    if ( ! function_exists( 'rwmb_get_field_settings' ) ) {
    	/**
    	 * Get field settings.
    
  • /vendor/wpmetabox/meta-box/inc/media-modal.php line 63
     
    			RWMB_Field::call( 'show', $field, true, $post->ID );
    
    			// For MB Custom Table to flush data from the cache to the database.
    			do_action( 'rwmb_flush_data', $post->ID, $field, [] );
    
    			$form_field['html'] = ob_get_clean();
    
    			$form_fields[ $field['id'] ] = $form_field;
    		}
    
    
  • /vendor/wpmetabox/meta-box/inc/media-modal.php line 94
    			// Call defined method to save meta value, if there's no methods, call common one.
    			RWMB_Field::call( $field, 'save', $new, $old, $post['ID'] );
    
    			// For MB Custom Table to flush data from the cache to the database.
    			do_action( 'rwmb_flush_data', $post['ID'], $field, [] );
    		}
    
    		return $post;
    	}
    
    	private function is_in_modal( array $meta_box ): bool {