Skip to content

ableplayer_dependencies

github-actions[bot] edited this page May 15, 2026 · 1 revision

Filter the Able Player script dependencies.

Auto-generated Example

add_filter(
   'ableplayer_dependencies',
    function(
        array $dependencies,
        bool $debug
    ) {
        // Your code here.
        return $dependencies;
    },
    10,
    2
);

Parameters

  • array $dependencies Array of scripts required by the main Able Player script.
  • bool $debug True if environment is in debugging mode.

Returns

array

Files

apply_filters( 'ableplayer_dependencies', $dependencies, $debug )

← All Hooks

Clone this wiki locally