Photo Gallery by 10Web 1.8.49 has 13 actions and 8 filters, read directly from its source code on Nov 17, 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 Photo Gallery by 10Web fires an action
add_action( 'bwg_before_init_gallery', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Photo Gallery by 10Web is about to use
add_filter( 'tenweb_booster_sdk', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
bwg_before_init_gallery
actiondo_action( 'bwg_before_init_gallery' ); -
tenweb_booster_sdk
filterapply_filters( 'tenweb_booster_sdk', array( 'version' => '1.0.0', 'path' => get_template_directory() . '/booster/', ) ); -
apply_filters( 'tenweb_new_free_users_lib_path', array('version' => '1.1.3', 'path' => BWG()->plugin_dir) ); -
bwg_admin_scripts_after
actiondo_action( 'bwg_admin_scripts_after' ); -
bwg_admin_view_form_after
actiondo_action( 'bwg_admin_view_form_after' ); -
bwg_advanced_sections_social
actiondo_action( 'bwg_advanced_sections_social', $row ); -
bwg_display_embed
actiondo_action( 'bwg_display_embed', $embed_type, $file_url, $embed_id, $attrs ); -
do_action( 'bwg_filemanager_scripts_after' ); -
bwg_gallery_type_options
actiondo_action( 'bwg_gallery_type_options', $params ); -
bwg_get_gallery_types
filterapply_filters( 'bwg_get_gallery_types', $gallery_types ); -
bwg_init_addons
actiondo_action( 'bwg_init_addons' ); -
bwg_options_execute_task
actiondo_action( 'bwg_options_execute_task', $task ); -
do_action( 'bwg_print_options_general_after' ); -
bwg_shortcode_scripts_after
actiondo_action( 'bwg_shortcode_scripts_after' ); -
bwg_uninstall_after
actiondo_action( 'bwg_uninstall_after' ); -
apply_filters( 'init_display_facebook_gallery_embed_bwg', array(), array() ); -
init_facebook_add_embed_bwg
filterapply_filters( 'init_facebook_add_embed_bwg', array(), $arg ); -
tw_get_block_editor_assets
filterapply_filters( 'tw_get_block_editor_assets', array() ); -
tw_get_plugin_blocks
filterapply_filters( 'tw_get_plugin_blocks', array() ); -
wp_read_image_metadata_types
filterapply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) );
Generated from Photo Gallery by 10Web's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: