Simple Floating Menu icon
Content & Editing

Simple Floating Menu hooks reference

  • By hashthemes
  • v1.6.0 New
  • Updated

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.

functions.phpyour child theme
// 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

  • includes/class-simple-floating-menu.php line 402 · used in 3 places
    apply_filters( 'sfm_show_elegant_icon', true );
  • includes/class-simple-floating-menu.php line 394 · used in 3 places
    apply_filters( 'sfm_show_essential_icon', true );
  • includes/class-simple-floating-menu.php line 390 · used in 3 places
    apply_filters( 'sfm_show_font_awesome', true );
  • includes/class-simple-floating-menu.php line 386 · used in 3 places
    apply_filters( 'sfm_show_ico_font', true );
  • includes/class-simple-floating-menu.php line 398 · used in 3 places
    apply_filters( 'sfm_show_material_icon', true );
  • frontend.php line 95
    apply_filters( 'sfm_before_floating_menu_render', $sfm_show_menu );
  • includes/class-simple-floating-menu.php line 914
    do_action( 'sfm_before_settings_form_end' );
  • simple-floating-menu.php line 41
    apply_filters( 'sfm_load_plugin', true );
  • includes/class-simple-floating-menu.php line 260
    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... );
  • standalone/class-sfm-standalone-frontend.php line 44
    apply_filters( 'sfm_standalone_menus', $menus );
  • inc/wptt-webfont-loader.php line 527
    apply_filters( 'wptt_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() );
  • inc/wptt-webfont-loader.php line 541
    apply_filters( 'wptt_get_local_fonts_base_url', content_url() );
  • inc/wptt-webfont-loader.php line 555
    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: