diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php
index f741342d..604080f8 100644
--- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php
+++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php
@@ -40,7 +40,7 @@ class SP_Meta_Box_Event_Details {
diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php
index 0168d965..af86f544 100644
--- a/includes/sp-core-functions.php
+++ b/includes/sp-core-functions.php
@@ -1312,7 +1312,7 @@ if ( !function_exists( 'sp_get_next_event' ) ) {
}
if ( !function_exists( 'sp_taxonomy_field' ) ) {
- function sp_taxonomy_field( $taxonomy = 'category', $post = null, $multiple = false, $trigger = false ) {
+ function sp_taxonomy_field( $taxonomy = 'category', $post = null, $multiple = false, $trigger = false, $placeholder = null ) {
$obj = get_taxonomy( $taxonomy );
if ( $obj ) {
$post_type = get_post_type( $post );
@@ -1335,7 +1335,7 @@ if ( !function_exists( 'sp_taxonomy_field' ) ) {
'values' => 'term_id',
'class' => 'sp-has-dummy widefat' . ( $trigger ? ' sp-ajax-trigger' : '' ),
'chosen' => true,
- 'placeholder' => __( 'All', 'sportspress' ),
+ 'placeholder' => $placeholder ? $placeholder : __( 'All', 'sportspress' ),
);
if ( $multiple ) {
$args['property'] = 'multiple';