WordPress filter hook

aluleth/queue/object_link

Fired by 5 WordPress plugins.

“Filters the link and label of what a send came from.”

How to use aluleth/queue/object_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( 'aluleth/queue/object_link', function( $value, $object_type, $object_id ) {
	// Change $value here.
	return $value;
}, 10, 3 );

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

5 plugins that fire aluleth/queue/object_link

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

  1. Aluleth SMTP icon Aluleth SMTPFewer than 10 installs apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-smtp' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ) core/src/class-connections.php:347
  2. Aluleth Funnels icon Aluleth FunnelsFewer than 10 installs apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-funnels' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ) core/src/class-connections.php:347
  3. Aluleth Forms icon Aluleth FormsFewer than 10 installs apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-forms' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ) core/src/class-connections.php:339
  4. Aluleth Popups icon Aluleth PopupsFewer than 10 installs apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-popups' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ) core/src/class-connections.php:347
  5. Aluleth Membership icon Aluleth MembershipFewer than 10 installs apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-membership' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ) core/src/class-connections.php:347

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.