Description
The “ims_login_form” filter is used to modify the Image Store login form.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_login_form', 'filter_function_name'); ?>
The hook is located in the image-store/_inc/store.php file.
Example
// Apply filter function modify_ims_login_form( $form, $gallery ) { return "<p>".__('message')."</p>" . $form; } add_filter('ims_login_form', 'modify_ims_login_form');
Note: $form is a HTML string, $gallery is a object returned by get_post()..
Leave a Reply