wpcf7_upgrade

wpcf7_upgrade

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: contact-form-7.5.9.3

do_action('wpcf7_upgrade') is found 1 times:

  • /load.php line 165
    	if ( $old_ver == $new_ver ) {
    		return;
    	}
    
    	do_action( 'wpcf7_upgrade', $new_ver, $old_ver );
    
    	WPCF7::update_option( 'version', $new_ver );
    }
    
    
    add_action( 'activate_' . WPCF7_PLUGIN_BASENAME, 'wpcf7_install', 10, 0 );
    

See this hook used in plugins: