get_plugins( null, false ); // Creates the Feature Box section $help->add_section( 'feature-box', null, 0, 'box' ); $help->add_section_content( 'feature-box', 'The Events Calendar' ); $help->add_section_content( 'feature-box', sprintf( esc_html__( 'Thank you for using %s! All of us at The Events Calendar sincerely appreciate your support and we’re excited to see you using our plugins.', 'tribe-common' ), $help->get_plugins_text() ) ); // Creates the Support section $help->add_section( 'support', __( 'Getting Support', 'tribe-common' ), 10 ); $help->add_section_content( 'support', sprintf( __( 'Our website’s %s is a great place to find tips and tricks for using and customizing our plugins.', 'tribe-common' ), '' . __( 'Knowledgebase', 'tribe-common' ) . '' ), 0 ); $help->add_section_content( 'support', sprintf( '%1$s %2$s', esc_html__( 'Want to dive deeper?', 'tribe-common' ), sprintf( __( 'Check out our %s for developers.', 'tribe-common' ), '' . esc_html__( 'list of available functions', 'tribe-common' ) . '' ) ), 50 ); // Creates the Extra Help section $help->add_section( 'extra-help', __( 'Getting More Help', 'tribe-common' ), 20 ); $help->add_section_content( 'extra-help', __( 'While the resources above help solve a majority of the issues we see, there are times you might be looking for extra support. If you need assistance using our plugins and would like us to take a look, please follow these steps:', 'tribe-common' ), 0 ); $help->add_section_content( 'extra-help', [ 'type' => 'ol', sprintf( __( '%s. All of the common (and not-so-common) answers to questions we see are here. It’s often the fastest path to finding an answer!', 'tribe-common' ), '' . __( 'Check our Knowledgebase', 'tribe-common' ) . '' ), sprintf( __( '%s. Testing for an existing conflict is the best start for in-depth troubleshooting. We will often ask you to follow these steps when opening a new thread, so doing this ahead of time will be super helpful.', 'tribe-common' ), '' . __( 'Test for a theme or plugin conflict', 'tribe-common' ) . '' ), sprintf( __( '%s. There are very few issues we haven’t seen and it’s likely another user has already asked your question and gotten an answer from our support staff. While posting to the help desk is open only to paid customers, they are open for anyone to search and review.', 'tribe-common' ), '' . __( 'Search our support help desk', 'tribe-common' ) . '' ), ], 10 ); // By default these three will be gathered $help->add_section_content( 'extra-help', __( 'Please note that all hands-on support is provided via the help desk. You can email or tweet at us… ​but we will probably point you back to the help desk 😄', 'tribe-common' ), 40 ); $help->add_section_content( 'extra-help', '
' . __( 'Read more about our support policy', 'tribe-common' ) . '
', 40 ); // Creates the System Info section $help->add_section( 'system-info', __( 'System Information', 'tribe-common' ), 30 ); $help->add_section_content( 'system-info', __( 'The details of your calendar plugin and settings is often needed for you or our staff to help troubleshoot an issue. Please opt-in below to automatically share your system information with our support team. This will allow us to assist you faster if you post in our help desk.', 'tribe-common' ), 0 ); $help->add_section_content( 'system-info', Tribe__Support::opt_in(), 10 ); $help->add_section_content( 'system-info', '
', 10 ); $help->add_section( 'template-changes', __( 'Recent Template Changes', 'tribe-common' ), 40 ); $help->add_section_content( 'template-changes', Tribe__Support__Template_Checker_Report::generate() ); $help->add_section( 'event-log', __( 'Event Log', 'tribe-common' ), 50 ); $help->add_section_content( 'event-log', tribe( 'logger' )->admin()->display_log() ); ?>
get_sections(); ?>
Help tab */ do_action( 'tribe_help_sidebar_before' ); foreach ( $plugins as $key => $plugin ) { $help->print_plugin_box( $key ); } ?>

Help tab */ do_action( 'tribe_help_sidebar_after' ); ?>