gpnf_jquery_ui_dependencies

Stop! This hook is deprecated.

jQuery UI has been replaced by the Tingle library since Nested Forms 1.0-beta-8.

  1. Description
  2. Usage
  3. Parameters
  4. Examples
  5. Since

Description

Filter the dependencies for jQuery UI.

Allows 3rd parties to avoid the issue where the modal close button is not present if certain scripts they load are loaded after jQuery UI.

Usage

add_filter( 'gpnf_jquery_ui_dependencies', 'my_custom_function' );

Parameters

  • deps array

    An array of script handles.

Examples

add_filter( 'gpnf_jquery_ui_dependencies', function( $deps ) {
    $deps[] = 'my-custom-script-handle';
    return $deps;
} );

Since

This filter is available since GF Nested Forms 1.0-beta-5.5.