Elementor: Default Schemes PHP Hook

Created on 14 Jan 2018  路  3Comments  路  Source: elementor/elementor

Hi guys, is it possible to set default schemes(typography, color and color picker) through a php hook?

Thanks!

typdeveloper-api

Most helpful comment

  • get_option('elementor_scheme_typography') - Is for the default typography scheme.
  • get_option('elementor_scheme_color') - Is for the defualt colors.
  • get_option('elementor_scheme_color-picker') - Is for the color picker palette.

All 3 comments

UPDATE: I just found global typography, color and color picker for elementor are wp options which can be accessed with get_option()

get_option('elementor_scheme_typography')
get_option('elementor_scheme_color')
get_option('elementor_scheme_color_picker')

and edited with

update_option()

Hi
get_option( 'elementor_scheme_color_picker' )
or
get_option( 'elementor_scheme_color-picker' )
??

  • get_option('elementor_scheme_typography') - Is for the default typography scheme.
  • get_option('elementor_scheme_color') - Is for the defualt colors.
  • get_option('elementor_scheme_color-picker') - Is for the color picker palette.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

pingram3541 picture pingram3541  路  3Comments

lilianmurciaart picture lilianmurciaart  路  3Comments

pnpetroff picture pnpetroff  路  3Comments

bentalgad picture bentalgad  路  3Comments

chemocool picture chemocool  路  3Comments