'lunartemplate',
);
// Set the $request array.
$request = array(
'body' => array(
'action' => 'query_themes',
'request' => serialize( (object)$args )
)
);
$themes = $this->fullscreen_agency_get_themes( $request );
$active_theme = wp_get_theme()->get( 'Name' );
$counter = 1;
// For currently active theme.
foreach ( $themes->themes as $theme ) {
if( $active_theme == $theme->name ) { ?>
themes as $theme ) {
if( $active_theme != $theme->name ) {
// Set the argument array with author name.
$args = array(
'slug' => esc_attr( $theme->slug ),
);
// Set the $request array.
$request = array(
'body' => array(
'action' => 'theme_information',
'request' => serialize( (object)$args )
)
);
$theme_details = $this->fullscreen_agency_get_themes( $request );
if( empty( $theme_details->template ) ) {
?>
name ); ?>
slug )->exists() ) { ?>
'install-theme',
'theme' => esc_attr( $theme->slug ),
), self_admin_url( 'update.php' ) );
?>