astra_get_addon_name()
Get Addon name.
Description
Return
(string) Addon Name.
Source
File: inc/markup-extras.php
function astra_get_addon_name() { $pro_name = __( 'Astra Pro', 'astra' ); // If addon is not updated & White Label added for Addon then show the updated addon name. if ( class_exists( 'Astra_Ext_White_Label_Markup' ) ) { $plugin_data = Astra_Ext_White_Label_Markup::$branding; if ( '' != $plugin_data['astra-pro']['name'] ) { $pro_name = $plugin_data['astra-pro']['name']; } } return apply_filters( 'astra_addon_name', $pro_name ); }
Expand full source code Collapse full source code View on Trac