getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
634 stars 95 forks source link

Error in Documentation #144

Closed EresDev closed 7 years ago

EresDev commented 7 years ago

In your documentation on http://getherbert.com/0.9/panels where it says:

$panel->add([
    'type'   => 'panel',
    'as'     => 'mainPanel',
    'title'  => 'My Plugin',
    'slug'   => 'myplugin-index',
    'icon'   => Hepler::assetUrl('/img/icon.png'),
    'uses'   => __NAMESPACE__ . '\Controllers\AdminController@index'
]);

Hepler is wrong. It should be Helper

jeremyzahner commented 7 years ago

@EresDev Would you submit a PR to https://github.com/getherbert/docs to fix this? Your help would be much appreciated!

kalinichenko88 commented 7 years ago

@jeremyzahner https://github.com/getherbert/docs/pull/9