Koshinski_vc_addon_Deactivator::deactivate();
}
register_activation_hook(__FILE__, 'activate_koshinski_vc_addon');
register_deactivation_hook(__FILE__, 'deactivate_koshinski_vc_addon');
/**
 * The core plugin class that is used to define internationalization,
 * admin-specific hooks, and public-facing site hooks.
 */
require plugin_dir_path(__FILE__) . 'includes/class-koshinski-vc-addon.php';
/**
 * Plugin Update Möglichkeit via Github
 */
if (!class_exists('Smashing_Updater')) {
    include_once plugin_dir_path(__FILE__) . 'updater.php';
}
$updater = new Smashing_Updater(__FILE__);
$updater->set_username('koshinski');
$updater->set_repository('koshinski_vc-addon');
/* $updater->authorize( 'abc' ); // Your auth code goes here for private repos */
$updater->initialize();
/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since    1.0.0
 */
function run_koshinski_vc_addon()
{
Beispiel #2
0
<?php

/*
	Plugin Name: M Plugin
	Description: This is for updating your Wordpress plugin.
	Version: 1.0.5
	Author: Marcos
	Author URI: http://www.modifiedarts.com
*/
if (!class_exists('Smashing_Updater')) {
    include_once plugin_dir_path(__FILE__) . 'updater.php';
}
$updater = new Smashing_Updater(__FILE__);
$updater->set_username('senormedia');
$updater->set_repository('plugin');
/*
	$updater->authorize( 'abcdefghijk1234567890' ); // Your auth code goes here for private repos
*/
$updater->initialize();
echo 'new';
echo 'new';
echo 'new';
echo 'new';
echo 'new';
echo 'new';
Beispiel #3
0
Plugin Name: External Authentication
Plugin URI:  http://github.com/schmidlorenz/wp-extauth/
Description: Allows reconfiguration of your Wordpress authentication settings
Version:     1.0.1
Author:      Lorenz Schmid
Author URI:  http://lorenz.retrouvailles.ch
License:     GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/*
 * Smashing-Updater for automated updates via GitHub (by rayman813)
 */
if (!class_exists('Smashing_Updater')) {
    include_once plugin_dir_path(__FILE__) . 'libs/updater/updater.php';
}
$updater = new Smashing_Updater(__FILE__);
$updater->set_username('schmidlorenz');
$updater->set_repository('wp-extauth');
$updater->initialize();
/*
 * Single-/Multisite wrapper
 */
function extauth_get_option($option)
{
    if (is_multisite()) {
        return get_site_option($option);
    } else {
        return get_option($option);
    }
}
function extauth_update_option($option, $newvalue)
<?php

/*
	Plugin Name: Smashing Plugin
	Description: This is for updating your Wordpress plugin.
	Version: 1.0.0
	Author: Matthew Ray
	Author URI: http://www.matthewray.com
*/
if (!class_exists('Smashing_Updater')) {
    include_once plugin_dir_path(__FILE__) . 'updater.php';
}
$updater = new Smashing_Updater(__FILE__);
$updater->set_username('rayman813');
$updater->set_repository('smashing-updater-plugin');
/*
	$updater->authorize( 'abcdefghijk1234567890' ); // Your auth code goes here for private repos
*/
$updater->initialize();