Skip to content

Commit

Permalink
Rename class to Liveblog_Post_Type
Browse files Browse the repository at this point in the history
  • Loading branch information
efuller committed Jan 21, 2025
1 parent aefecb0 commit ada96c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* WP_Liveblog_Post_Type class file.
* Liveblog_Post_Type class file.
*
* @package wp-liveblog
*/
Expand All @@ -12,7 +12,7 @@
/**
* Base post type class.
*/
class WP_Liveblog_Post_Type_Liveblog implements Feature {
class Liveblog_Post_Type implements Feature {
/**
* Boot the feature.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
namespace Alley\WP\WP_Liveblog;

use Alley\WP\Features\Group;
use Alley\WP\WP_Liveblog\Features\WP_Liveblog_Post_Type_Liveblog;
use Alley\WP\WP_Liveblog\Features\Liveblog_Post_Type;

/**
* Instantiate the plugin.
*/
function main(): void {
// Add features here.
$plugin = new Group(
new WP_Liveblog_Post_Type_Liveblog(),
new Liveblog_Post_Type(),
);

$plugin->boot();
Expand Down

0 comments on commit ada96c3

Please sign in to comment.