Tom J Nowell

Menu

Skip to content
  • Articles
  • Talks

Archive: March, 2014

WordPress Bash Magic

Posted on March 1, 2014 by Tom J Nowell

I’ve been doing a lot of bash scripting with WordPress, especially with WP CLI. Here are some snippets I found useful. All my scripts assume a standard wp-config.php with DEFINE() statements and no unusual logic structures. A rogue constant with the name DB_NAME may throw things off without some modification. Getting the Database table prefix If you […]

DevelopmentMaintenance bashmaintenancePHPrewrite rulesWordPressWP CLI

Post navigation

Archives

    July 2019 January 2019 July 2018 April 2018 March 2018 January 2018 August 2017 March 2017 February 2017 January 2017 December 2016 August 2016 July 2016 May 2016 September 2015 June 2015 May 2015 December 2014 November 2014 September 2014 June 2014 April 2014 March 2014 January 2014 November 2013 October 2013 August 2013 July 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012

Content licensed as cc-by-sa-3 with attribution required, twitter