Skip to content

Instantly share code, notes, and snippets.

@wp-seopress
Last active September 24, 2025 08:30
Show Gist options
  • Save wp-seopress/91de017065c716cf56abc247305b61a2 to your computer and use it in GitHub Desktop.
Save wp-seopress/91de017065c716cf56abc247305b61a2 to your computer and use it in GitHub Desktop.
Filter Local Business opening hours separator
LB Widget:
add_filter('seopress_lb_widget_opening_hours_separator', 'sp_lb_widget_opening_hours_separator');
function sp_lb_widget_opening_hours_separator($separator) {
// apply your custom logic here
return $separator;
};
LB Block:
add_filter('seopress_lb_block_opening_hours_separator', 'sp_lb_block_opening_hours_separator');
function sp_lb_block_opening_hours_separator($separator) {
// apply your custom logic here
return $separator;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment