gravityhopper-of/forms/hidden_folders

Description

Set folders to be excluded when viewing primary form list table.

Usage

Filter folders by taxonomy term ID which should be excluded from the primary form list table.

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

Parameters

hidden_folders : array

The array of folder taxonomy term IDs for which form should not be shown in the primary form list table.

Since

Gravity Hopper 2.7.2

Examples

Hide folders 54 and 89

add_filter( 'gravityhopper-of/forms/hidden_folders', function( $hidden_folders ) {
    return [ 54, 89 ]
} );