On a settings page, so I have something like this:
'title' => __('General Settings', 'text-domain'),
'id' => 'general-settings',
'settings_pages' => ['some-settings'],
'tab' => 'Settings',
'fields' => [
[
'name' => __('How to generate some content', 'text-domain'),
'type' => 'custom_html',
'callback' => get_help('help_page'),
],
and putting my function name with a paramater in the callback section doesn't work. If I have the callback function as a string, then it does work, but then I don't know how to include a parameter...