apply_filters( 'learndash-rest-api-controllers' )
Description #
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash-rest-api-controllers filter.
*/
add_filter(
'learndash-rest-api-controllers',
function( $controllers ) {
// May add any custom logic using $controllers.
// Always return $controllers.
return $controllers;
}
);