���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/righteousmag.com/wp-content__a986334/themes/theme/inc/csf-functions.php
���ѧ٧ѧ�
<?php /** * * Get option * * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'cs_get_option' ) ) { function cs_get_option( $option = '', $default = null ) { $options = get_option( 'appside_theme_options' ); // Attention: Set your unique id of the framework return ( isset( $options[$option] ) ) ? $options[$option] : $default; } } /** * * Get get switcher option * for theme options * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'cs_get_switcher_option' )) { function cs_get_switcher_option( $option = '', $default = null ) { $options = get_option( 'appside_theme_options' ); // Attention: Set your unique id of the framework $return_val = ( isset( $options[$option] ) ) ? $options[$option] : $default; $return_val = (is_null($return_val) || '1' == $return_val ) ? true : false;; return $return_val; } } if ( ! function_exists( 'cs_switcher_option' )) { function cs_switcher_option( $option = '', $default = null ) { $options = get_option( 'appside_theme_options' ); // Attention: Set your unique id of the framework $return_val = ( isset( $options[$option] ) ) ? $options[$option] : $default; $return_val = ( '1' == $return_val ) ? true : false;; return $return_val; } } /** * * Get customize option * * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'cs_get_customize_option' ) && class_exists( 'CSF' )) { function cs_get_customize_option( $option = '', $default = null ) { $options = get_option( 'appside_customize_options' ); // Attention: Set your unique id of the framework return ( isset( $options[$option] ) ) ? $options[$option] : $default; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.2 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�