WordPress filter hook

wpvivid_get_admin_url

Fired by 4 WordPress plugins, running on 921K+ sites between them.

How to use wpvivid_get_admin_url

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'wpvivid_get_admin_url', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from WPvivid's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire wpvivid_get_admin_url

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WPvivid icon WPvivid900,000+ installs apply_filters( 'wpvivid_get_admin_url', '' ) includes/class-wpvivid-export-import.php:81
  2. Compress, Resize & Lazy Load Images icon Compress, Resize & Lazy Load Images10,000+ installs apply_filters( 'wpvivid_get_admin_url', '' ) includes/cdn/class-wpvivid-cdn.php:261
  3. WPvivid Backup for MainWP icon WPvivid Backup for MainWP10,000+ installs apply_filters( 'wpvivid_get_admin_url', '' ) admin/wpvivid-backup-mainwp-loginpage.php:81
  4. Database Snapshots icon Database Snapshots900+ installs apply_filters( 'wpvivid_get_admin_url', '' ) includes/class-wpvivid-snapshot.php:166

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.