Hi there,
Please update to version 3.0.1 and you can change the plugin modal text like below.
add_filter('ina_popup_modal_text', 'ina_change_modal_text');
function ina_change_modal_text( $modal ) {
$modal['continue'] = 'YOUR CUSTOM TEXT';
return $modal;
}
Please add above code to your functions.php file in your active theme.
Hi @j_3rk,
Wow, that is awesome. Done. It works great.
Comment:
The filter you provided is modifying the button text of both modals (“Warn Message Only” and “Idle Message Content”). Is their any way you can create a filter for each modal?
Thank you so much!
@generosus
Will add this in the next update. Will add a dynamic field in settings page to change the text without using any filters so give me some time for this.
Thanks
Hi @generosus
Dynamic fields to change the text for both buttons should now be available in new version.