Search & Replace Everything by WPCode icon
Admin & Maintenance

Search & Replace Everything by WPCode hooks reference

  • By WPCode
  • v1.0.10
  • Updated

Search & Replace Everything by WPCode 1.0.10 has 10 actions and 7 filters, read directly from its source code on Nov 17, 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.

functions.phpyour child theme
// Run your own code when Search & Replace Everything by WPCode fires an action
add_action( 'wsrw_admin_notice_dismiss_ajax', function( $post, $level, $notices ) {
	// Your code runs here.
}, 10, 3 );

// Change a value Search & Replace Everything by WPCode is about to use
add_filter( 'wsrw_search_history_limit', function( $value ) {
	// Change $value here.
	return $value;
}, 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

  • includes/admin/class-wsrw-notice.php line 310
    /**
     * Allows developers to apply additional logic to the dismissing notice
     * process. Executes after updating option or user meta (according to the
     * notice level).
     */
    do_action( 'wsrw_admin_notice_dismiss_ajax', $post['id'], $level, $notices );
  • includes/lite/admin/class-wsrw-connect.php line 96 · used in 4 places
    do_action( 'wsrw_plugin_deactivated', $plugin );
  • includes/admin/pages/class-wsrw-admin-page-search-replace.php line 244 · used in 3 places
    apply_filters( 'wsrw_search_history_limit', 20 );
  • includes/admin/pages/class-wsrw-admin-page.php line 198 · used in 2 places
    do_action( "wsrw_admin_page_content_{$this->page_slug}", $this );
  • includes/class-wsrw-search-replace.php line 275 · used in 2 places
    do_action( 'wsrw_performed_search_replace', $process, $content, $operation_data );
  • includes/class-wsrw-image-replace.php line 600 · used in 2 places
    apply_filters( 'wsrw_skip_guids', true );
  • includes/admin/admin-scripts.php line 42
    apply_filters( 'wsrw_admin_js_data', array( 'nonce' => wp_create_nonce( 'wsrw_admin' ), 'yes' => esc_html__( 'Yes', 'search-replace-wpcode' ), 'no' => esc_html__( 'No', 'search-replace-wpcode' ), 'ok' => esc_html__( 'OK', 'search-replace-wpcode' ), 'close' => esc_html__( 'Close', 'search-replace-wpcode' ), 'error_title' => esc_html__( 'Error', 'search-replace-wpcode' ), 'unsupported_file_title' => esc_html__( 'Unsupported File Typ... );
  • includes/admin/pages/class-wsrw-admin-page.php line 391
    do_action( 'wsrw_admin_notices' );
  • includes/admin/class-wsrw-admin-page-loader.php line 108
    do_action( 'wsrw_admin_page' );
  • includes/admin/class-wsrw-admin-page-loader.php line 75
    do_action( 'wsrw_before_admin_pages_loaded', $this->pages );
  • includes/class-wsrw-search-replace.php line 586
    apply_filters( 'wsrw_get_all_tables', $table_names );
  • includes/class-wsrw-settings.php line 44
    apply_filters( "wsrw_get_option_{$option_name}", $value );
  • wsrw_icons

    filter
    includes/icons.php line 120
    apply_filters( 'wsrw_icons', array( 'logo' => '<path fill="#0265FC" d="M17.1 2.2c-6.9 2.6-12.3 8.1-15 15.2C0 23 0 23.6 0 128c0 104.4 0 105 2.1 110.6 2.7 7.2 8.1 12.6 15.3 15.3C23 256 23.6 256 128 256c104.4 0 105 0 110.6-2.1 7.2-2.7 12.6-8.1 15.3-15.3 2.1-5.6 2.1-6.2 2.1-110.6 0-104.4 0-105-2.1-110.6-2.7-7.2-8.1-12.6-15.3-15.3C233 0 232.4 0 127.7.1 24 .1 22.4.1 17.1 2.2zm134.2 65.2c3.4 1.4 48 45.5 50.3 49.7 1.8 3.2 1.8 13.1... );
  • wsrw_install

    action
    includes/class-wsrw-install.php line 62
    do_action( 'wsrw_install' );
  • includes/class-wsrw-install.php line 32
    do_action( 'wsrw_plugin_activation' );
  • includes/class-wsrw-search-replace.php line 100
    do_action( 'wsrw_start_search_replace', $response );
  • includes/admin/pages/class-wsrw-admin-page-search-replace.php line 902
    apply_filters( 'wsrw_unused_media_show_used_outside_posts', false );

Generated from Search & Replace Everything by WPCode's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: