How to save plugin custom settings page fields
Something was wrong with the naming, I had to change the field names, and it works ok. From your code sample, this: add_settings_field( ‘frontend-font’, // id attribute of tag __(‘بارگذاری فونت برای بخش اصلی سایت’, ‘persianfont’), // Title as lable for field function(){ var_dump(get_option( ‘persianfont’ )); //$check_frontend_font = is_null(get_option( ‘persianfont’ )[‘frontend-font’]) ? ‘true’ : get_option( … Read more