'install-plugin',
'plugin' => $plugin_name
),
network_admin_url( 'update.php' )
),
'install-plugin_'.$plugin_name
);
} else {
$install_url = add_query_arg(array(
'action' => 'activate',
'plugin' => rawurlencode( $plugin_name . '/' . $plugin_name . '.php' ),
'plugin_status' => 'all',
'paged' => '1',
'_wpnonce' => wp_create_nonce('activate-plugin_' . $plugin_name . '/' . $plugin_name . '.php'),
), network_admin_url('plugins.php'));
$button_class = 'activate-now button-primary';
$button_txt = esc_html__( 'Active Now', 'glob' );
}
$detail_link = add_query_arg(
array(
'tab' => 'plugin-information',
'plugin' => $plugin_name,
'TB_iframe' => 'true',
'width' => '772',
'height' => '349',
),
network_admin_url( 'plugin-install.php' )
);
echo '
';
printf( esc_html__(
'%1$s you will need to install and activate the %2$s plugin first.', 'glob' ),
''.esc_html__( 'Hey.', 'glob' ).'',
''.esc_html__( 'FameThemes Demo Importer', 'glob' ).''
);
echo '
';
echo '
'.$button_txt.'
';
?>