Always use full plugin name in hooks

This commit is contained in:
Brian Miyaji
2014-05-14 14:36:04 +10:00
parent e331b4c16a
commit b0ea18db6f

View File

@@ -44,7 +44,7 @@ function sp_get_template_part( $slug, $name = '' ) {
} }
// Allow 3rd party plugin filter template file from their plugin // 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 ) { if ( $template ) {
load_template( $template, false ); load_template( $template, false );