Skip to content

Commit

Permalink
Merge pull request #7 from radiate-framework/main
Browse files Browse the repository at this point in the history
changed provider to wp provider
  • Loading branch information
BenRutlandWeb authored Feb 18, 2021
2 parents 4124b5f + 6222232 commit 6d8e1e8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 18 deletions.
17 changes: 0 additions & 17 deletions app/Providers/CptServiceProvider.php

This file was deleted.

26 changes: 26 additions & 0 deletions app/Providers/WordPressServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace Theme\Providers;

use Radiate\Foundation\Providers\WordPressServiceProvider as ServiceProvider;

class WordPressServiceProvider extends ServiceProvider
{
/**
* The custom post types and taxonomies to register
*
* @var array
*/
protected $postTypes = [
//
];

/**
* The shortcodes to register
*
* @var array
*/
protected $shortcodes = [
//
];
}
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
$app->register(Radiate\View\ViewServiceProvider::class);
$app->register(Radiate\WordPress\WordPressServiceProvider::class);

$app->register(Theme\Providers\CptServiceProvider::class);
$app->register(Theme\Providers\EventServiceProvider::class);
$app->register(Theme\Providers\RouteServiceProvider::class);
$app->register(Theme\Providers\WordPressServiceProvider::class);


/**
Expand Down

0 comments on commit 6d8e1e8

Please sign in to comment.