rwmb_flush_data
rwmb_flush_data
Appears in: wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: action
Displaying hooks found in version: wp-stateless.4.1.2do_action('rwmb_flush_data') is found 3 times:
- /vendor/wpmetabox/meta-box/inc/functions.php line 58
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 60
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 91
// 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 {