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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
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_import_theme_from_repo( $hash )
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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
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
Parameters Parameters
- $hash
-
(Required)
Return Return
(mixed)
Source Source
File: includes/functions/themes/portability.php
function pum_import_theme_from_repo( $hash ) { $theme_data = array( 'name' => __( 'Imported Theme', 'popup-maker' ), 'settings' => PUM_Admin_Themes::defaults(), 'original_author' => 'Daniel', ); return pum_install_theme( $theme_data['name'], $theme_data['settings'], array( '_pum_theme_repo_hash' => $hash, '_pum_theme_repo_author' => $theme_data['original_author'], ) ); }
Expand full source code Collapse full source code View on Trac