wordpress/wp-content/plugins/cms-tree-page-view/functions.php
/**
 * Load settings
 * @return array with options
 */
Load settings
@return array with options
Load settings @return array with options
function cms_tpv_get_options() {
	$arr_options = (array) get_option('cms_tpv_options');
	if (array_key_exists('dashboard', $arr_options)) {
		$arr_options['dashboard'] = (array) @$arr_options['dashboard'];
	} else {
		$arr_options['dashboard'] = array();
	}
	if (array_key_exists('menu', $arr_options)) {
		$arr_options['menu'] = (array) @$arr_options['menu'];
	} else {
		$arr_options['menu'] = array();
	}
	if (array_key_exists('postsoverview', $arr_options)) {
		$arr_options['postsoverview'] = (array) @$arr_options['postsoverview'];
	} else {
		$arr_options['postsoverview'] = array();
	}
	return $arr_options;
}
function cms_tpv_get_options ( ) { $ arr_options = ( array ) get_option ( 'cms_tpv_options' ) ; if ( array_key_exists ( 'dashboard' , $ arr_options ) ) { $ arr_options [ 'dashboard' ] = ( array ) @ $ arr_options [ 'dashboard' ] ; } else { $ arr_options [ 'dashboard' ] = array ( ) ; } if ( array_key_exists ( 'menu' , $ arr_options ) ) { $ arr_options [ 'menu' ] = ( array ) @ $ arr_options [ 'menu' ] ; } else { $ arr_options [ 'menu' ] = array ( ) ; } if ( array_key_exists ( 'postsoverview' , $ arr_options ) ) { $ arr_options [ 'postsoverview' ] = ( array ) @ $ arr_options [ 'postsoverview' ] ; } else { $ arr_options [ 'postsoverview' ] = array ( ) ; } return $ arr_options ; }
Load settings
 @return array with options
Load settings @return array with options