AddToAny Share Buttons 1.8.18 has 2 actions and 8 filters, read directly from its source code on Nov 17, 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.
// Run your own code when AddToAny Share Buttons fires an action
add_action( 'end_A2A_SHARE_SAVE_meta_box_content', function( $post ) {
// Your code runs here.
}, 10, 1 );
// Change a value AddToAny Share Buttons is about to use
add_filter( 'addtoany_sharing_disabled', function( $sharing_disabled ) {
// Change $sharing_disabled here.
return $sharing_disabled;
}, 10, 1 );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
-
addtoany_sharing_disabled
filterapply_filters( 'addtoany_sharing_disabled', $sharing_disabled ); -
A2A_FOLLOW_services
filterapply_filters( 'A2A_FOLLOW_services', $A2A_FOLLOW_services ); -
addtoany_icons_bg_color
filterapply_filters( 'addtoany_icons_bg_color', '' ); -
addtoany_script_disabled
filterapply_filters( 'addtoany_script_disabled', false ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'] ); -
addtoany_content_priority
filterapply_filters( 'addtoany_content_priority', 98 );
Generated from AddToAny Share Buttons's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: