Social Snap 1.4.2 has 15 actions and 89 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 Social Snap fires an action
add_action( 'socialsnap_post_delete', function( $row_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Social Snap is about to use
add_filter( 'socialsnap_manage_cap', function( $value ) {
// Change $value here.
return $value;
}, 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
-
socialsnap_manage_cap
filterapply_filters( 'socialsnap_manage_cap', 'manage_options' ); -
apply_filters( 'socialsnap_upgrade_button_text', __( 'Upgrade Now', 'socialsnap' ) ); -
apply_filters( 'socialsnap_filter_social_follow_networks', $this->value ); -
apply_filters( 'socialsnap_display_position_classes', $class, 'sidebar' ); -
socialsnap_sanitize_username
filterapply_filters( 'socialsnap_sanitize_username', socialsnap_settings( 'ss_twitter_username' ) ); -
socialsnap_post_delete
actiondo_action( 'socialsnap_post_delete', $row_id ); -
socialsnap_welcome_cap
filterapply_filters( 'socialsnap_welcome_cap', 'manage_options' ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'] ); -
excerpt_length
filterapply_filters( 'excerpt_length', 100 ); -
excerpt_more
filterapply_filters( 'excerpt_more', ' ', '...' ); -
socialsnap_addons_cap
filterapply_filters( 'socialsnap_addons_cap', 'manage_options' ); -
do_action( 'socialsnap_admin_settings_before', $this->settings ); -
apply_filters( 'socialsnap_all_networks_popup_networks', socialsnap_get_social_share_networks() ); -
socialsnap_alternative_urls
filterapply_filters( 'socialsnap_alternative_urls', $urls, $post_id ); -
apply_filters( 'socialsnap_automatic_follow_count', $is_automatic, $network_id ); -
apply_filters( 'socialsnap_configured_networks', array() ); -
socialsnap_ctt_settings
filterapply_filters( 'socialsnap_ctt_settings', $ctt ); -
apply_filters( 'socialsnap_current_page_title', $title ); -
socialsnap_current_post_id
filterapply_filters( 'socialsnap_current_post_id', $post_id ); -
socialsnap_deactivated
actiondo_action( 'socialsnap_deactivated' ); -
socialsnap_default_settings
filterapply_filters( 'socialsnap_default_settings', $default_settings ); -
socialsnap_editor_config
filterapply_filters( 'socialsnap_editor_config', $config ); -
socialsnap_expiry_intervals
filterapply_filters( 'socialsnap_expiry_intervals', $intervals ); -
socialsnap_facts
filterapply_filters( 'socialsnap_facts', $facts ); -
apply_filters( 'socialsnap_filter_social_follow_authorized_networks', (array) get_option( 'socialsnap_authorized_networks' ) ); -
apply_filters( 'socialsnap_floating_sidebar_atts', array() ); -
apply_filters( 'socialsnap_follow_networks_shortcode_class', $class ); -
apply_filters( 'socialsnap_follower_count_label', _n( 'Follower', 'Followers', $count, 'socialsnap' ), $count, $network_id ); -
socialsnap_get_addons_params
filterapply_filters( 'socialsnap_get_addons_params', array() ); -
apply_filters( 'socialsnap_get_allowed_html_tags', $tags, $type ); -
socialsnap_get_post_types
filterapply_filters( 'socialsnap_get_post_types', $return_post_types ); -
socialsnap_get_taxonomies
filterapply_filters( 'socialsnap_get_taxonomies', $taxonomies ); -
socialsnap_header_bar_button
filterapply_filters( 'socialsnap_header_bar_button', $addons_button, 'socialsnap-addons' ); -
socialsnap_icons_svg
filterapply_filters( 'socialsnap_icons_svg', self::$icons ); -
socialsnap_inline_styles
filterapply_filters( 'socialsnap_inline_styles', $style, $position ); -
socialsnap_install
actiondo_action( 'socialsnap_install' ); -
socialsnap_is_amp_page
filterapply_filters( 'socialsnap_is_amp_page', $is_amp ); -
apply_filters( 'socialsnap_js_localized_strings', $strings ); -
socialsnap_live_preview
actiondo_action( 'socialsnap_live_preview' ); -
socialsnap_loaded
actiondo_action( 'socialsnap_loaded' ); -
socialsnap_metaboxes_config
filterapply_filters( 'socialsnap_metaboxes_config', $config ); -
socialsnap_network_colors
filterapply_filters( 'socialsnap_network_colors', $colors ); -
apply_filters( 'socialsnap_on_media_pin_it_title', $title, $image_src ); -
apply_filters( 'socialsnap_on_media_skip_classes', $skip_classes ); -
socialsnap_permalink
filterapply_filters( 'socialsnap_permalink', $permalink, $post_id ); -
socialsnap_pinit_text
filterapply_filters( 'socialsnap_pinit_text', __( 'Save', 'socialsnap' ) ); -
socialsnap_plugin_migration
filterapply_filters( 'socialsnap_plugin_migration', array() ); -
do_action( "socialsnap_post_insert_{$type}", $wpdb->insert_id, $data ); -
socialsnap_post_types_ids
filterapply_filters( 'socialsnap_post_types_ids', $post_types ); -
do_action( "socialsnap_post_update_{$type}", $data ); -
do_action( "socialsnap_pre_insert_{$type}", $data ); -
socialsnap_settings_config
filterapply_filters( 'socialsnap_settings_config', $config ); -
do_action( 'socialsnap_settings_field_class' ); -
socialsnap_settings_init
actiondo_action( 'socialsnap_settings_init' ); -
socialsnap_signature
filterapply_filters( 'socialsnap_signature', $output ); -
apply_filters( 'socialsnap_social_follow_count_api', false, $network, $authorized_networks, $configured_networks ); -
apply_filters( 'socialsnap_social_follow_count_automatic', $count, $network, $data ); -
apply_filters( 'socialsnap_social_follow_networks', $networks ); -
apply_filters( 'socialsnap_social_follow_networks_automatic', $networks ); -
apply_filters( 'socialsnap_social_follow_networks_with_api', $networks ); -
socialsnap_ss_button_data
filterapply_filters( 'socialsnap_ss_button_data', $data, $url, $permalink, $network, $post_id, $location ); -
socialsnap_statistics_cap
filterapply_filters( 'socialsnap_statistics_cap', 'manage_options' ); -
socialsnap_statistics_output
actiondo_action( 'socialsnap_statistics_output' ); -
apply_filters( 'socialsnap_twitter_via_username', socialsnap_settings( 'ss_twitter_username' ) ); -
socialsnap_upgrade_link
filterapply_filters( 'socialsnap_upgrade_link', $link ); -
socialsnap_view_count
filterapply_filters( 'socialsnap_view_count', '', $location );
Generated from Social Snap'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: