BP_LearnDash_Admin_Integration_Tab::register_fields()

Register setting fields

Description

Source

File: bp-integrations/learndash/bp-admin-learndash-tab.php

	public function register_fields() {

		$fields = apply_filters('bp_integrations_learndash_fields', array(
			'buddypress' => [$this, 'registerBuddypressSettings'],
			'learndash' => [$this, 'registerLearnDashSettings'],
			//'reports' => [$this, 'registerReportsSettings'],
		), $this);

		foreach ($fields as $key => $callback) {
			call_user_func($callback);

			/**
			 * Action to add additional fields into each learndash setting sections
			 *
			 * @since BuddyBoss 1.0.0
			 */
			do_action('bp_integrations_learndash_field_added', $key, $this);
		}
	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.