Keywords to Links Converter icon
Email & Marketing

Keywords to Links Converter hooks reference

Keywords to Links Converter 3.0.0 has 1 actions and 5 filters, read directly from its source code on Nov 18, 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 Keywords to Links Converter fires an action
add_action( 'lar_link_redirected', function( $link_id ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Keywords to Links Converter is about to use
add_filter( 'lar_add_extra_atts', function( $link_id, $post_id ) {
	// Change $link_id here.
	return $link_id;
}, 10, 2 );

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

  • src/Links/Replacer.php line 308
    /**
     * Filters extra attributes of the auto links, as an HTML attributes string.
     * The filter is given the link ID as its value, an unfiltered ID is ignored.
     */
    apply_filters( 'lar_add_extra_atts', $link_id, $this->post_id );
  • src/Links/ShortLinks.php line 121
    /**
     * Filters whether the click is counted, e.g. to follow a consent plugin.
     */
    apply_filters( 'lar_count_click', ! preg_match( self::BOTS, $user_agent ), $link_id );
  • src/Plugin.php line 58
    /**
     * Filters whether Affiliate Butler Pro is active, which pauses this plugin.
     */
    apply_filters( 'lar_pro_active', defined( 'ABUTLERPRO_VERSION' ) || function_exists( 'abutler_pro' ) );
  • src/Links/ContentFilter.php line 55
    /**
     * Filters the content after the keywords were linked.
     */
    apply_filters( 'lar_replace_content', $replaced );
  • src/Admin/DisableOption.php line 54
    apply_filters( 'lar_disable_box_screens', array( 'post', 'page' ) );

Generated from Keywords to Links Converter's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

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