This hook has been deprecated. Use ‘learndash_settings_page_load’ instead.
do_action_deprecated( 'learndash-settings-page-load', string $setting_screen_id, string $setting_page_id )
Fires on LearnDash settings page load.
Description #
Parameters #
- $setting_screen_id
-
(string) Settings screen ID.
- $setting_page_id
-
(string) Settings page ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_add_meta_boxes action. */ add_action( 'learndash_add_meta_boxes', function( $setting_screen_id ) { // May add any custom logic using $setting_screen_id } );
Changelog #
Version | Description |
---|---|
3.2.3 | Introduced. Use 'learndash_settings_page_load' instead. |