htmlburger /
carbon-fields
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | /* |
||
| 3 | Plugin Name: Carbon Fields |
||
| 4 | Description: WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more. |
||
| 5 | Version: 1.0 |
||
| 6 | Requires at least: 4.0 |
||
| 7 | Tested up to: 4.4 |
||
| 8 | */ |
||
| 9 | |||
| 10 | namespace Carbon_Fields; |
||
| 11 | |||
| 12 | use Carbon_Fields\Helper\Helper; |
||
| 13 | |||
| 14 | define('DIR', dirname(__FILE__));
|
||
| 15 | define('URL', str_replace('\\', '/', str_replace(untrailingslashit(ABSPATH), site_url(), DIR)));
|
||
| 16 | |||
| 17 | # Initialize helper |
||
| 18 | $carbon_helper = new Helper(); |