Crucial Real Estate 1.0.7 has 17 actions and 73 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Crucial Real Estate fires an action
add_action( 'rwmb_enqueue_scripts', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value Crucial Real Estate is about to use
add_filter( 'rwmb_google_maps_url', function( $google_maps_url ) {
// Change $google_maps_url here.
return $google_maps_url;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Allows developers load more libraries via a filter. */ apply_filters( 'rwmb_google_maps_url', $google_maps_url ); -
/** * Allow developers to change the value of the post. Used for WPML integration. */ apply_filters( '_rwmb_post_format_single_value', $value, $field ); -
/** * Filter condition to show property current and old price for all or specific * properties. */ apply_filters( 'cre_show_properties_old_price', $show_old_price, $property_id ); -
/** * Allow developers to enqueue more scripts and styles */ do_action( 'rwmb_enqueue_scripts', $this ); -
/** * Filter meta type from object type and object id. */ apply_filters( 'rwmb_meta_type', $args['type'], $args['object_type'], $object_id ); -
do_action( 'rwmb_flush_data', $object_id, $field, $args ); -
apply_filters( 'wpml_object_id', $value, $object_type, true, $target_language ); -
apply_filters( 'cre_agent_slug', esc_html__('agent', 'crucial-real-estate') ); -
apply_filters( 'cre_property_slug', esc_html__('property', 'crucial-real-estate') ); -
apply_filters( 'rwmb_meta', $value, $key, $args, $post_id ); -
apply_filters( 'cre_active_theme_prefix', $cre_active_theme ); -
do_action( 'cre_after_contact_form_submit' ); -
apply_filters( 'cre_agent_detail_fields', $meta_boxes ); -
apply_filters( 'cre_avatar_size', 200 ); -
do_action( 'cre_before_meta_boxes_init' ); -
apply_filters( 'cre_contact_form_fields', $form_fields, $form_id ); -
apply_filters( 'cre_contact_mail_header', $headers ); -
apply_filters( 'cre_currency_sign', get_option('cre_currency_sign', esc_html__('$', 'crucial-real-estate')) ); -
apply_filters( 'cre_email_template', $template, $form_id ); -
apply_filters( 'cre_email_template_form_fields', $form_fields, $form_id ); -
do_action( 'cre_loaded' ); -
do_action( 'cre_meta_boxes_init' ); -
apply_filters( 'cre_no_price_text', get_option('cre_empty_price_text', esc_html__('Price On Call', 'crucial-real-estate')) ); -
apply_filters( 'cre_property_agent_information_fields', $meta_boxes ); -
apply_filters( 'cre_property_basic_default_fields', map_deep( wp_unslash( $default ), 'sanitize_text_field' ) ); -
apply_filters( 'cre_property_basic_fields', $meta_boxes ); -
apply_filters( 'cre_property_floor_plans_fields', $meta_boxes ); -
apply_filters( 'cre_property_gallery_fields', $meta_boxes ); -
apply_filters( 'cre_property_homepage_slider_fields', $meta_boxes ); -
apply_filters( 'cre_property_location_fields', $meta_boxes ); -
apply_filters( 'cre_property_misc_fields', $meta_boxes ); -
apply_filters( 'cre_property_price', $formatted_price, $amount ); -
apply_filters( 'cre_property_video_fields', $meta_boxes ); -
apply_filters( 'cre_sidebar_fields', $meta_boxes ); -
apply_filters( 'cre_taxonomy_thumbnail', ['property-location'] ); -
apply_filters( 'cre_template_directory', array( CRE_PLUGIN_DIR . 'templates/', ) ); -
apply_filters( 'cre_template_file', $file ); -
apply_filters( 'cre_template_path', 'crucial-real-estate/' ); -
do_action( 'enqueue_block_editor_assets' ); -
do_action( "rwmb_{$this->id}_after_save_post", $object_id ); -
do_action( "rwmb_{$this->id}_before_save_post", $object_id ); -
do_action( 'rwmb_after', $this ); -
do_action( "rwmb_after_{$this->id}", $this ); -
do_action( 'rwmb_after_save_post', $object_id ); -
apply_filters( 'rwmb_ajax_get_posts', $items, $field, $request ); -
apply_filters( 'rwmb_ajax_get_terms', $items, $field, $request ); -
apply_filters( 'rwmb_ajax_get_users', $items, $field, $request ); -
apply_filters( 'rwmb_autocomplete_field', $field, $meta ); -
apply_filters( 'rwmb_autocomplete_result_label', $value, $field ); -
do_action( 'rwmb_before', $this ); -
do_action( "rwmb_before_{$this->id}", $this ); -
do_action( 'rwmb_before_save_post', $object_id ); -
do_action( 'rwmb_enqueue_block_editor_assets' ); -
apply_filters( 'rwmb_field_class', $class, $type ); -
do_action( 'rwmb_field_registered', $field, $type, $object_type ); -
apply_filters( 'rwmb_file_add_string', _x( '+ Add new file', 'file upload', 'meta-box' ), $field ); -
apply_filters( 'rwmb_file_delete_string', _x( 'Delete', 'file upload', 'meta-box' ) ); -
apply_filters( 'rwmb_file_edit_string', _x( 'Edit', 'file upload', 'meta-box' ) ); -
apply_filters( 'rwmb_get_storage', $storage, $object_type, $meta_box ); -
apply_filters( 'rwmb_get_value', $value, $field, $args, $post_id ); -
apply_filters( 'rwmb_media_add_string', _x( '+ Add Media', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_edit_string', _x( 'Edit', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_multiple_files_string', _x( ' files', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_or_string', _x( 'or', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_remove_string', _x( 'Remove', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_select_string', _x( 'Select Files', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_single_files_string', _x( ' file', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_upload_instructions_string', _x( 'Drop files here to upload', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_view_string', _x( 'View', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings ); -
apply_filters( 'rwmb_meta_box_settings', $this->meta_box ); -
apply_filters( 'rwmb_meta_boxes', [] ); -
apply_filters( 'rwmb_meta_shortcode_secure', true, $field_id, $atts, $object_id ); -
apply_filters( "rwmb_meta_shortcode_secure_{$field_id}", $secure, $atts, $object_id ); -
apply_filters( "rwmb_normalize_{$field['id']}_field", $field ); -
apply_filters( "rwmb_normalize_{$field['type']}_field", $field ); -
apply_filters( 'rwmb_normalize_field', $field ); -
apply_filters( 'rwmb_oembed_not_available_string', $not_available, $url ); -
apply_filters( 'rwmb_show', true, $this->meta_box ); -
apply_filters( "rwmb_show_{$this->id}", $show, $this->meta_box ); -
apply_filters( 'rwmb_the_value', $output, $field, $args, $post_id ); -
apply_filters( 'rwmb_validation_message_string', __( 'Please correct the errors highlighted below and try again.', 'meta-box' ) ); -
apply_filters( 'rwmb_wysiwyg_settings', $field['options'] ); -
apply_filters( 'the_content', get_the_content() ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_sub_setting', false, 'translation-management', 'custom_fields_translation' );
Generated from Crucial Real Estate's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and weβll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the pluginβs own hooks.
- Code written against the pluginβs actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2β3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the pluginβs files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3β7 business days
Choose thisNot sure which fits? Describe what you need and weβll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: