WordPress filter hook

wpzinc_dashboard_add_action_link

Fired by 8 WordPress plugins, running on 31K+ sites between them.

“Filter the action links.”

How to use wpzinc_dashboard_add_action_link

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

functions.php
add_filter( 'wpzinc_dashboard_add_action_link', function( $links, $name, $plugin ) {
	// Change $links here.
	return $links;
}, 10, 3 );

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

8 plugins that fire wpzinc_dashboard_add_action_link

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

  1. Media Library Organizer icon Media Library Organizer20,000+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) _modules/dashboard/class-wpzincdashboardwidget.php:565
  2. Social Media Auto Poster icon Social Media Auto Poster7,000+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) lib/shared/class-admin-ui.php:493
  3. Bulk Page Generator and Mass Page Builder icon Bulk Page Generator and Mass Page Builder3,000+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) _modules/dashboard/class-wpzincdashboardwidget.php:586
  4. Integrate PostHog Web Analytics icon Integrate PostHog Web Analytics300+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) _modules/dashboard/class-wpzincdashboardwidget.php:586
  5. Social Media Auto Poster icon Social Media Auto Poster200+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) lib/shared/class-admin-ui.php:493
  6. Social Post Flow icon Social Post Flow200+ installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) _modules/dashboard/class-wpzincdashboardwidget.php:586
  7. Social Media Auto Poster icon Social Media Auto PosterFewer than 10 installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) lib/shared/class-admin-ui.php:493
  8. FOMO Notifications icon FOMO NotificationsFewer than 10 installs apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ) _modules/dashboard/class-wpzincdashboardwidget.php:581

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.