Function Reference: geodir_payments_listing_tags_field_tags_msg
Summary
Filter the tags description limit message.
Global Values
- $post
- (object) (required) The current post object.
- Default: None
Parameters
- $desc_msg
- (string) (required) The limit message string if any.
- Default: None
- $desc_count
- (int) (required) The character limit number if any.
- Default: None
Return Values
- (Tags)
- limit message if any.
Change Log
Since: 1.0.0
Source Code
function geodir_payments_listing_tags_field_tags_msg($tags_msg, $tags_count) { if (!is_int($tags_count)) { $tags_msg = __('Tags are short keywords, with no space within.(eg: tag1, tag2, tag3).', 'geodir_payments'); } else { if ($tags_count>0) { $tags_msg = __('Tags are short keywords, with no space within.(eg: tag1, tag2, tag3) Up to %d characters only for this package.', 'geodir_payments'); if (strpos($tags_msg, '%d')!==false) { $tags_msg = sprintf($tags_msg, $tags_count); } } else { $tags_msg = __('Tags are short keywords, currently tags not allowed for this package.', 'geodir_payments'); } } return $tags_msg; }