WordPress add_filter to post_date
I using a plugin that it makes posts and etc date to
Persian Date but the problem is I just want to convert date in front not admin panel or etc. I found that part make this action:
add_filter('date_i18n', 'ztjalali_ch_date_i18n', 111, 4);
add_filter to do this on
date_i18n function, can I change it somehow that convert only
date in blog post in front. I’m not a wordpress expert and don’t know too much about date_i18n, but I think it refer to all post date in everywhere, so can I change the code to only convert in front?
add_filter('post_date', 'ztjalali_ch_date_i18n', 111, 4);
I tried above but no success.