Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Remove redundant classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotherightthing committed Mar 21, 2021
1 parent 37d6b07 commit 91bdeaa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 194 deletions.
63 changes: 0 additions & 63 deletions src/class-wpdtrt-anchorlinks-rewrite.php

This file was deleted.

63 changes: 0 additions & 63 deletions src/class-wpdtrt-anchorlinks-taxonomy.php

This file was deleted.

31 changes: 0 additions & 31 deletions src/class-wpdtrt-anchorlinks-widget.php

This file was deleted.

37 changes: 0 additions & 37 deletions wpdtrt-anchorlinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,22 +287,6 @@ function wpdtrt_anchorlinks_plugin_init() {
);
}

/**
* ===== Rewrite config =====
*/

/**
* Register Rewrite
*/
function wpdtrt_anchorlinks_rewrite_init() {

global $wpdtrt_anchorlinks_plugin;

$wpdtrt_anchorlinks_rewrite = new WPDTRT_Anchorlinks_Rewrite(
array()
);
}

/**
* ===== Shortcode config =====
*/
Expand Down Expand Up @@ -348,24 +332,3 @@ function wpdtrt_anchorlinks_shortcode_heading_init() {
)
);
}

/**
* ===== Taxonomy config =====
*/

/**
* Register Taxonomy
*
* @return object Taxonomy/
*/
function wpdtrt_anchorlinks_taxonomy_init() {

global $wpdtrt_anchorlinks_plugin;

$wpdtrt_anchorlinks_taxonomy = new WPDTRT_Anchorlinks_Taxonomy(
array()
);

// return a reference for unit testing.
return $wpdtrt_anchorlinks_taxonomy;
}

0 comments on commit 91bdeaa

Please sign in to comment.