From b0ea18db6f8e694b1fc9855b6dc1ec16e19b29e3 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 14 May 2014 14:36:04 +1000 Subject: [PATCH] Always use full plugin name in hooks --- includes/sp-core-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 8fdf1c78..701c36bb 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -44,7 +44,7 @@ function sp_get_template_part( $slug, $name = '' ) { } // Allow 3rd party plugin filter template file from their plugin - $template = apply_filters( 'sp_get_template_part', $template, $slug, $name ); + $template = apply_filters( 'sportspress_get_template_part', $template, $slug, $name ); if ( $template ) { load_template( $template, false );