Simple Floating Menu 1.6.0 has 1 actions and 12 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 Simple Floating Menu fires an action
add_action( 'sfm_before_settings_form_end', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Simple Floating Menu is about to use
add_filter( 'sfm_show_elegant_icon', 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
-
sfm_show_elegant_icon
filterapply_filters( 'sfm_show_elegant_icon', true ); -
sfm_show_essential_icon
filterapply_filters( 'sfm_show_essential_icon', true ); -
sfm_show_font_awesome
filterapply_filters( 'sfm_show_font_awesome', true ); -
sfm_show_ico_font
filterapply_filters( 'sfm_show_ico_font', true ); -
sfm_show_material_icon
filterapply_filters( 'sfm_show_material_icon', true ); -
sfm_before_settings_form_end
actiondo_action( 'sfm_before_settings_form_end' ); -
sfm_load_plugin
filterapply_filters( 'sfm_load_plugin', true ); -
apply_filters( 'sfm_settings_page_content_array', array( 'sfm-buttons-nav' => array( 'href' => '#tab-sfm-buttons', 'icon' => 'mdi mdi-animation', 'title' => esc_html__('Buttons', 'simple-floating-menu') ), 'sfm-setting-nav' => array( 'href' => '#tab-sfm-settings', 'icon' => 'mdi mdi-application-edit-outline', 'title' => esc_html__('Settings', 'simple-floating-menu') ), 'sfm-imex-nav' => array( 'href' => '#tab-sfm-imex', 'icon' => 'mdi mdi-data... ); -
apply_filters( 'wptt_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() ); -
apply_filters( 'wptt_get_local_fonts_base_url', content_url() ); -
apply_filters( 'wptt_get_local_fonts_subfolder_name', 'fonts' );
Generated from Simple Floating Menu'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: