Skip to content

ableplayer_default_parameters

github-actions[bot] edited this page May 15, 2026 · 2 revisions

Filter the default values, options, and descriptions for all Able Player shortcode parameters. Not used at this time.

attribute as a key with array of default value, description, available options, ( and alternate parameter name if the output isn't data-{key}.

Auto-generated Example

add_filter(
   'ableplayer_default_parameters',
    function( array $params ) {
        // Your code here.
        return $params;
    }
);

Parameters

  • array $params Array of default parameters. The array is a multidimensional array with the shortcode

Returns

array Array of parameters.

Files

apply_filters( 'ableplayer_default_parameters', $params )

← All Hooks

Clone this wiki locally