Astra_Ext_White_Label_Markup::astra_addon_list( array $addons = array() )

Modify Astra Addon List


Description


Parameters

$addons

(array) (Optional) Astra addon list.

Default value: array()


Return

(array) $addons Updated Astra addon list.


Source

File: classes/class-astra-ext-white-label-markup.php

		public function astra_addon_list( $addons = array() ) {

			foreach ( $addons as $addon_slug => $value ) {
				// Remove each addon link to the respective documentation if pro is white labled.
				if ( false !== self::astra_pro_whitelabel_name() ) {
					$addons[ $addon_slug ]['title_url'] = '';
				}
			}

			return $addons;
		}

Changelog

Changelog
Version Description
1.2.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.