Microthemer icon
Developer Tools

Microthemer hooks reference

  • By Themeover
  • v7.5.5.9 New
  • Updated

Microthemer 7.5.5.9 has 1 actions and 6 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
// Change a value Microthemer is about to use
add_filter( 'afs-import_details', function( $attachment, $file, $post_id, $import_date ) {
	// Change $attachment here.
	return $attachment;
}, 10, 4 );

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/PackTrait.php line 1060
    apply_filters( 'afs-import_details', $attachment, $file, $post_id, $import_date );
  • src/PluginTrait.php line 84
    apply_filters( "microthemer_{$name}", $value, ...$args );
  • src/PluginTrait.php line 89
    do_action( "microthemer_{$name}", ...$args );
  • src/SettingsTrait.php line 508
    apply_filters( 'microthemer_can_edit_code', current_user_can('edit_css') && current_user_can('unfiltered_html') );
  • src/FrontAndBackTrait.php line 75
    apply_filters( 'microthemer_content_publishing', false );
  • src/FrontAndBackTrait.php line 80
    apply_filters( 'microthemer_extended_css', false );
  • src/PackTrait.php line 1022
    apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $type ) );

Generated from Microthemer'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: