slug ) { remove_action( 'gatherpress_settings_section', array( Settings::get_instance(), 'render_settings_form' ) ); $this->credits_page(); } } /** * Render the custom credits page. * * This method is responsible for rendering the custom "Credits" page in the plugin's settings. * It loads credits data and uses a template to display the credits information. * * @since 1.0.0 * * @return void */ protected function credits_page(): void { // Load credits data. $credits = include_once sprintf( '%s/includes/data/credits.php', GATHERPRESS_CORE_PATH ); // Render the credits page template with data. Utility::render_template( sprintf( '%s/includes/templates/admin/settings/credits/index.php', GATHERPRESS_CORE_PATH ), array( 'credits' => $credits ), true ); } }