Forked from jamigibbs/tgmpa-plugin-example.php
Last active
September 19, 2016 13:57
Star
You must be signed in to star a gist
More info: http://richtabor.com/rejections/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Include a plugin from the WordPress Repository: | |
array( | |
'name' => esc_html__( 'WooCommerce', 'text-domain' ), | |
'slug' => 'woocommerce', | |
'required' => false, | |
), | |
// Include a plugin bundled within a WordPress theme: | |
array( | |
'name' => esc_html__( 'Example Plugin', 'text-domain' ), | |
'slug' => 'example-plugin', | |
'source' => get_template_directory() . '/inc/plugins/example-plugin.zip', | |
'required' => false, | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment