gravityhopper-of/forms/archived_folders

Description

Set folders to be excluded from all folder views.

Usage

Filter folders by taxonomy term ID which should be excluded from all folder views unless explicitly selected from dropdown.

add_filter( 'gravityhopper-of/forms/archived_folders', 'my_custom_callback' );

Parameters

archived_folders : array

The array of folder taxonomy term IDs for which forms should not be shown.

Since

Gravity Hopper 2.7.2

Examples

Hide folders 34 and 81

add_filter( 'gravityhopper-of/forms/archived_folders', function( $archived_folders ) {
    return [ 34, 81 ]
} );