Bearius Calendar 1.2.0 has 6 actions and 18 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Bearius Calendar fires an action
add_action( 'bcal_after_place', function( $args ) {
// Your code runs here.
}, 10, 1 );
// Change a value Bearius Calendar is about to use
add_filter( 'bcal_allow_private_url', function( $value, $url ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Allows imports from local or private addresses, for example a calendar * server in the company network. */ apply_filters( 'bcal_allow_private_url', false, $url ); -
/** * Default settings. Add-ons add their own keys here so the settings screen and * the sanitizer know them. */ apply_filters( 'bcal_default_settings', $defaults ); -
/** * Ready mappings for the custom fields import. */ apply_filters( 'bcal_field_presets', $presets ); -
/** * Filters the selectors that mark the dark and light version of the site. */ apply_filters( 'bcal_mode_markers', $markers ); -
/** * Filters whether the site is dark by default. */ apply_filters( 'bcal_site_base_dark', $dark, $hex ); -
/** * Filters whether the theme follows the system dark mode on its own. */ apply_filters( 'bcal_theme_follows_system', $follows ); -
do_action( 'bcal_after_place', $args ); -
do_action( 'bcal_enqueue_assets' ); -
do_action( 'bcal_event_synced', $post_id, $written ); -
do_action( 'bcal_import_finished', $session ); -
apply_filters( 'bcal_import_sources', array( 'tec' => 'BCal_Import_TEC', 'ics' => 'BCal_Import_ICS', 'fields' => 'BCal_Import_Fields', ) ); -
apply_filters( 'bcal_is_calendar_request', false ); -
apply_filters( 'bcal_palettes', $presets ); -
apply_filters( 'bcal_schema_country', bcal_is_polish() ? 'PL' : '' ); -
apply_filters( 'bcal_schema_event', $schema, $post_id ); -
apply_filters( 'bcal_settings_schema', $tabs ); -
apply_filters( 'bcal_single_layouts', array( 'classic' => array( 'label' => __( 'Classic', 'bearius-calendar' ), 'template' => 'single/classic', ), ) ); -
apply_filters( 'bcal_template_paths', array( BCAL_DIR . 'templates/' ) ); -
do_action( 'bcal_tools_tab' ); -
apply_filters( 'bcal_views', array( 'list' => array( 'label' => __( 'List', 'bearius-calendar' ), 'template' => 'views/list', ), 'month' => array( 'label' => __( 'Month', 'bearius-calendar' ), 'template' => 'views/month', ), 'tiles' => array( 'label' => __( 'Tiles', 'bearius-calendar' ), 'template' => 'views/tiles', ), ) ); -
do_action( 'bearius_credit_printed' ); -
apply_filters( 'the_content', get_the_content( null, false, $post ) ); -
apply_filters( 'wpml_active_languages', null ); -
apply_filters( 'wpml_current_language', null );
Generated from Bearius Calendar's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: