Permalink
Browse files

Force formatting for PHP.

  • Loading branch information...
1 parent c11a61d commit 31c07e7f4b0b2b0207c4af86735ad22a696aead8 @zamoose committed Sep 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
2 README.md
@@ -24,10 +24,12 @@ If this idea gains enough traction, there is a chance that a partial, or even fu
For example, if Core were to introduce a `before_header()` hook, we could (in theory) simply alter `tha_header_before()` as follows
+```php
function tha_header_before() {
do_action( 'tha_header_before' );
do_action( 'before_header' );
}
+```
This would allow all themes using the THA hooks to avoid rewriting/refactoring in the case of a Core change.

0 comments on commit 31c07e7

Please sign in to comment.