LearnDash_Addon_Updater::admin_notice_upgrade_notice()
Method: Support for admin notice header for “Upgrade Notice Admin” header from readme.txt.
@package: LearnDash / Add-on
Source Files: includes/class-ld-addons-updater.php
Method: Support for admin notice header for “Upgrade Notice Admin” header from readme.txt.
Method: Called when the add-on plugin is installed. From the page the user is shown links at the bottom of the page to return to the plugin page or the WordPress updates page. If the user started as the LearnDash Add-ons page we will add the ‘ld-return-addons’ query string parameter. This is used to return the user.
Method: Called when the add-on plugin is upgraded. From the page the user is shown links at the bottom of the page to return to the plugin page or the WordPress updates page. If the user started as the LearnDash Add-ons page we will add the ‘ld-return-addons’ query string parameter. This is used to return the user.
Method: LearnDash_Addon_Updater constructor.
Method: Utility function to return the table name. This is to prevent hard-coding of the table names throughout the code files.
Method: Get table sub prefix
Method: Get the WPProQuiz table name prefix. This is appended to the default WP prefix.
Method: Get an array of all custom tables.
Method: Get tables base
Method: Public Initialize function for class
Method: Public constructor for class
Method: Utility function to return the post type key. This is to prevent hard-coding of the key throughout the code files.
Method: Utility function to return the post type slug(s). This is to prevent hard-coding of the slug(s) throughout the code files.
Method: Get an array of all custom tables.
Method: Public Initialize function for class
Method: Public constructor for class
Method: Amend $wp_query based on what content user is viewing
Method: Show course completion/quiz completion Action callback from ‘template_redirect’ (wp core action)
Method: Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter)
Method: Get Archive content