Skip to content

Commit

Permalink
chore: remove neve prefix from namepaced methods
Browse files Browse the repository at this point in the history
  • Loading branch information
UVLabs committed Dec 8, 2021
1 parent 54dec7e commit 896db69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/compatibility/easy_digital_downloads.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public function init() {
if ( ! class_exists( 'Easy_Digital_Downloads' ) ) {
return;
}
add_action( 'wp_enqueue_scripts', array( $this, 'neve_dequeue_edd_styles' ) );
add_filter( 'edd_settings_styles', array( $this, 'neve_edd_settings_styles' ) );
add_action( 'wp_enqueue_scripts', array( $this, 'dequeue_edd_styles' ) );
add_filter( 'edd_settings_styles', array( $this, 'edd_settings_styles' ) );
add_filter( 'body_class', array( $this, 'add_body_class' ) );
}

Expand Down Expand Up @@ -58,7 +58,7 @@ public function add_body_class( $classes ) {
*
* @return void
*/
public function neve_dequeue_edd_styles() {
public function dequeue_edd_styles() {
wp_dequeue_style( 'edd-styles' );
}

Expand All @@ -68,7 +68,7 @@ public function neve_dequeue_edd_styles() {
* @param mixed $settings EDD style settings.
* @return array
*/
public function neve_edd_settings_styles( $settings ) {
public function edd_settings_styles( $settings ) {
/*
* Settings with type 'descriptive_text' are automatically stripped by EDD
* So this field is not saved to the DB on save changes.
Expand Down

0 comments on commit 896db69

Please sign in to comment.