wordpress get option value

Solutions on MaxInterview for wordpress get option value by the best coders in the world

showing results for - "wordpress get option value"
Luka
04 May 2020
1$no_exists_value = get_option( 'no_exists_value' );
2var_dump( $no_exists_value ); /* outputs false */
3 
4$no_exists_value = get_option( 'no_exists_value', 'default_value' );
5var_dump( $no_exists_value ); /* outputs 'default_value' */
6
Milan
12 Apr 2019
1$reg = get_option('region')