Skip to content

Instantly share code, notes, and snippets.

<?php
// Bokka Utilities must be loaded before all other mu-plugins
// as it contains global variables used elsewhere.
require WPMU_PLUGIN_DIR.'/bokka-wp-utilities/bokka-utilities.php';
require WPMU_PLUGIN_DIR.'/bokka-mvc/bokka-mvc.php';
@mikemcguire
mikemcguire / .gitignore
Last active February 21, 2017 20:04
Wordpress .gitignore for MVC framework
# WordPress #
############
patternlab-php-master/
wp-config-local.php
wp-content/uploads
wp-content/plugins/debug-log.php
wp-content/blogs.dir/
wp-config.php
wp-content/upgrade/
wp-content/backup-db/
@mikemcguire
mikemcguire / bokka
Last active March 3, 2017 21:05
VVV Config generator && BokkaMVC Scaffolding
# Vagrant Site Creator
echo '-------------------------------------------------------------------------------'
echo 'Welcome to Bokka WP CLI'
echo '-------------------------------------------------------------------------------'
# ------------------------------------------------------------------------------
# Program Index:
# Argument Parser
# Utility Functions
# Methods:
@mikemcguire
mikemcguire / Bokka
Created July 11, 2016 17:59
VVV config generator && BokkaMVC Scaffolding
# Vagrant Site Creator
echo '-------------------------------------------------------------------------------'
echo 'Welcome to Bokka WP CLI'
echo '-------------------------------------------------------------------------------'
# ------------------------------------------------------------------------------
# Program Index:
# Argument Parser
# Utility Functions
# Methods:
@mikemcguire
mikemcguire / bokkasite
Last active July 11, 2016 17:49
Site Manager Script for VVV stuff
# Vagrant Site Creator
echo '-------------------------------------------------------------------------------'
echo 'Welcome to Bokka WP CLI'
echo '-------------------------------------------------------------------------------'
# ------------------------------------------------------------------------------
# Program Index:
# Argument Parser
# Utility Functions
# Methods: