sources/style.php
/**
	 *
	 * Source function for sidebar metabox
	 *
	 * @return array
	 */
Source function for sidebar metabox
@return array
Source function for sidebar metabox @return array
function silverwp_get_sidebar() {
		$img_uri = \SilverWp\FileSystem::getDirectory( 'image_uri' );
		return array(
			array(
				'value' => 0,
				'label' => \SilverWp\Translate::translate( 'None' ),
				'img'   => $img_uri . 'admin/sidebar/icon_0_sidebar_off.png',
			),
			array(
				'value' => 1,
				'label' => \SilverWp\Translate::translate( 'Left sidebar' ),
				'img'   => $img_uri . 'admin/sidebar/icon_1_sidebar_off.png',
			),
			array(
				'value' => 2,
				'label' => \SilverWp\Translate::translate( 'Right sidebar' ),
				'img'   => $img_uri . 'admin/sidebar/icon_2_sidebar_off.png',
			),
		);
	}
function silverwp_get_sidebar ( ) { $ img_uri = \ SilverWp \ FileSystem :: getDirectory ( 'image_uri' ) ; return array ( array ( 'value' => 0 , 'label' => \ SilverWp \ Translate :: translate ( 'None' ) , 'img' => $ img_uri . 'admin/sidebar/icon_0_sidebar_off.png' , ) , array ( 'value' => 1 , 'label' => \ SilverWp \ Translate :: translate ( 'Left sidebar' ) , 'img' => $ img_uri . 'admin/sidebar/icon_1_sidebar_off.png' , ) , array ( 'value' => 2 , 'label' => \ SilverWp \ Translate :: translate ( 'Right sidebar' ) , 'img' => $ img_uri . 'admin/sidebar/icon_2_sidebar_off.png' , ) , ) ; }
Source function for sidebar metabox
 @return array
Source function for sidebar metabox @return array