Folders 3.3.1 has 21 actions and 20 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 Folders fires an action
add_action( 'premio_folders_custom_color', function( $args ) {
// Your code runs here.
}, 10, 1 );
// Change a value Folders is about to use
add_filter( 'folders_active_tab', 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
-
folders_active_tab
filterapply_filters( 'folders_active_tab', 'general-settings' ); -
premio_folders_custom_color
actiondo_action( 'premio_folders_custom_color', $args ); -
folders_count_join_query
filterapply_filters( 'folders_count_join_query', "" ); -
folders_count_where_query
filterapply_filters( 'folders_count_where_query', $where ); -
check_for_folders_post_args
filterapply_filters( 'check_for_folders_post_args', [] ); -
folders_field_after_{$key}
actiondo_action( "folders_field_after_{$key}", $setting, $settings, false, '' ); -
folders_field_input
actiondo_action( 'folders_field_input', $setting, $settings[$key], $hasValidKey, $upgradeURL ); -
folders_field_label
actiondo_action( 'folders_field_label', $setting ); -
do_action( 'folders_field_postfix_settings', $setting, 'no' ); -
do_action( 'folders_field_prefix_settings', $setting, 'no' ); -
folders_settings_modal
actiondo_action( 'folders_settings_modal' ); -
folders_users_features
filterapply_filters( 'folders_users_features', [] ); -
folders_users_roles
filterapply_filters( 'folders_users_roles', [] ); -
apply_filters( 'remove_folders_file_replaced_meta', false, $attachment->ID ); -
apply_filters( 'check_media_status_for_folders', true ); -
folder_dynamic_tree
actiondo_action( 'folder_dynamic_tree' ); -
folders_customization_tab
actiondo_action( 'folders_customization_tab' ); -
folders_field_tooltip
actiondo_action( 'folders_field_tooltip', $field ); -
do_action( "folders_field_tooltip_{esc_attr($field['id'])}", $field ); -
folders_header_section
actiondo_action( 'folders_header_section' ); -
do_action( 'folders_hide_recommended_plugins_modal' ); -
folders_maintenance_tab
actiondo_action( 'folders_maintenance_tab' ); -
folders_modal_allowed_html
filterapply_filters( 'folders_modal_allowed_html', wp_kses_allowed_html( 'post' ) ); -
folders_notifications_tab
actiondo_action( 'folders_notifications_tab' ); -
folders_role_settings_tabs
actiondo_action( 'folders_role_settings_tabs' ); -
apply_filters( 'folders_settings_conflicting_assets', [ 'wp-dark-mode', 'wp-dark-plugins' ] ); -
folders_settings_tab
actiondo_action( 'folders_settings_tab' ); -
folders_sidebar_modal
actiondo_action( 'folders_sidebar_modal' ); -
folders_user_features
filterapply_filters( 'folders_user_features', [] ); -
folders_user_roles
filterapply_filters( 'folders_user_roles', [] ); -
folders_users_tab
actiondo_action( 'folders_users_tab' ); -
apply_filters( 'media_library_organizer_media_filter_attachments_grid', $args ); -
plugin_install_action_links
filterapply_filters( 'plugin_install_action_links', $action_links, $plugin ); -
apply_filters( 'premio_folder_all_categorized_items', $post_type ); -
apply_filters( 'premio_folder_item_in_taxonomy', $term->term_id, [ 'post_type' => $post_type, 'taxonomy' => $taxonomy, ] ); -
apply_filters( 'premio_folder_un_categorized_items', $post_type, $taxonomy ); -
do_action( 'premio_folders_color_settings', $args ); -
premio_folders_count_context
filterapply_filters( 'premio_folders_count_context', '', $taxonomy, $post_type ); -
wpml_current_language
filterapply_filters( 'wpml_current_language', null );
Generated from Folders'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: