Description
The “ims_user_galleries_path” filter is used to modify the path to the php file used to display the administration user (customer) gallery page.
A plugin (or theme) can modify the path with the code:
<?php add_filter( 'ims_user_galleries_path', 'filter_function_name' ); ?>
The hook is located in the image-store/admin/template.php file.
Example
// Apply filter function modify_ims_user_galleries_path( $path ) { return "path/to/php/file/to/display/user/galleries/page.php"; } add_filter('ims_user_galleries_path', 'modify_ims_user_galleries_path');
Note: $path is an string, full path to php file.
Leave a Reply