2019-12-07, 22:14:51
Multilingual pages (i18n) did not work for me.
I changed the core hook from:
to:
So it works for me
I changed the core hook from:
Code:
add_action('index-post-dataindex', "password_protect");
Code:
add_action('index-pretemplate', "password_protect");
So it works for me