• Resolved themefour

    (@themefour)


    Hi, I wrote this code. I want my font to be added to the font list in the theme settings. But it was not added. what is the problem? Can you write me the correct code?

    add_filter('redux/options/ReduxCore/inc/fields/typography/field_typography', function( $std_fonts) {
    $std_fonts = array(
    	"Myfont"                                            => "Myfont",
    		
    			 ]
    		);
    return $std_fonts;
    
    );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hooks’ is closed to new replies.