Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 661 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 661 Bytes

WordPress Plugin Boilerplate

A WordPress Plugin Boilerplate

Installation

composer create-project ralfhortt/wordpress-plugin-boilerplate my-plugin

Setup

  • Edit the plugin header in plugin.php
  • Replace namespace RalfHortt/WordPressPluginBoilerplate with your own
  • Update autoloader namespace in composer.json
  • Replace textdomain wordpress-plugin-boilerplate with your own

Usage

  • Services: Add a custom service in src
  • Function: Add custom function in inc/functions.php
  • Template Tags: Add custom template tags in inc/template-tags.php

Changelog

2020-09-01

  • update dependencies

2019-10-17

  • Initial release