Skip to content

Commit

Permalink
Reverted do_help_tab() logic, and left a comment about it be being de…
Browse files Browse the repository at this point in the history
…precated and to use `\TEC\Common\Help_Hub\Hub`.

This code is still used by ET.
  • Loading branch information
redscar committed Oct 25, 2024
1 parent 65ee819 commit 1d34a4f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Tribe/Settings_Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,17 @@ protected function do_licenses_tab() {
}

/**
* Create the help tab
* Create the help tab.
*
* @deprecated TBD This method is deprecated and should no longer be used. Use \TEC\Common\Help_Hub\Hub instead.
*
* @depecated TBD
*/
public function do_help_tab() {
_deprecated_function( __METHOD__, 'TBD', 'Tribe__Admin__Help_Page' );
tribe( Tribe__Admin__Help_Page::class )->do_help_tab();
/**
* Include Help tab Assets here
*/

include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/help.php';
}

/**
Expand Down

0 comments on commit 1d34a4f

Please sign in to comment.