-
Notifications
You must be signed in to change notification settings - Fork 7
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}.
add_filter(
'ableplayer_default_parameters',
function( array $params ) {
// Your code here.
return $params;
}
);-
array$paramsArray of default parameters. The array is a multidimensional array with the shortcode
array Array of parameters.
apply_filters( 'ableplayer_default_parameters', $params )