Astra_Ext_White_Label_Markup::astra_whitelabelled_slug( String $name )
Get whitelabelled slug.
Description
User entered display name of the plugin is converted to slug.
Parameters
- $name
-
(String) (Required) Default slug.
Return
(String) slugified product name.
Source
File: classes/class-astra-ext-white-label-markup.php
public function astra_whitelabelled_slug( $name ) { return sanitize_key( rawurlencode( self::get_whitelabel_string( 'astra', 'name', $name ) ) ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.6.14 | Introduced. |