Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.87 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.87 KB

WP Functions

Common WordPress functions to include in your project.

GitHub GitHub last commit GitHub tag

Overview

I have worked on many WordPress projects and there are a list of functions I see myself having to write in every project. Until now, there is now a composer for it!

Installation

This project assumes that you have general knowledge of a LAMP stack environment.

  • Add this repository to your composer.json (since it's not in packagist.org)
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/sgtcoder/wp-functions.git"
    }
]
  • Run composer install sgtcoder/wp-functions

Setup

  • Look at the /vendor/sgtcoder/wp-functions/src/functions.php file for functions

Future

  • More Functions will be added

Meta

Michael J Brancato – @sgtcoder[email protected]

Distributed under the GNU GENERAL PUBLIC LICENSE Version 3. See LICENSE for more information.

https://github.com/sgtcoder/WP-Functions

Added Features

  • Ability to disable functions as comma seperated: define('WP_DISABLED_FUNCTIONS', 'request,remove_emoji');

Contributing

  1. Fork it (https://github.com/sgtcoder/WP-Functions/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Questions

If you have any questions or feedback, please email me at [email protected]