apply_filters( 'learndash_admin_page_form', string $form_output, boolean $start )
Filters the HTML output for admin page form.
Contents
Description #
Parameters #
- $form_output
-
(string) The HTML output for admin page form.
- $start
-
(boolean) A flag to indicate whether it is start or end of the form.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_admin_page_form filter.
*/
add_filter(
'learndash_admin_page_form',
function( $form_output, $start ) {
// May add any custom logic using $form_output, $start.
// Always return $form_output.
return $form_output;
},
10,
2
);