Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Model_Popup::get_theme_slug()
Returns the slug for a theme. Used for CSS classes.
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(string)
Source Source
File: classes/Model/Popup.php
private function get_theme_slug() { $theme_slug = $this->get_setting( 'theme_slug' ); if ( false === $theme_slug ) { $theme_slug = get_post_field( 'post_name', $this->get_theme_id() ); $this->update_setting( 'theme_slug', $theme_slug ); } return $theme_slug; }
Expand full source code Collapse full source code View on Trac