Description
The “ims_after_login_form” filter is used to add additional input fields to the login form for password-protected galleries.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_after_login_form', 'filter_function_name'); ?>
The hook is located in the image-store/_store/store.php file.
Example
// Apply filter function add_ims_after_login_form( $output ) { return $output . '<label>' . __("Site:" ) . '</label> <input name="site" id="site" type="text" />'; } add_filter('ims_after_login_form', 'add_ims_after_login_form');
Note: $output is a HTML string.
Leave a Reply