0, 'label' => esc_html__('--choose--','allrounder-news') ); $arg = array('posts_per_page' => -1); $allrounder_news_pages = get_pages($arg); foreach($allrounder_news_pages as $allrounder_news_page) : $allrounder_news_pagelist[$allrounder_news_page->ID] = array( 'value' => $allrounder_news_page->ID, 'label' => $allrounder_news_page->post_title ); endforeach; extract( $widget_field ); switch( $allrounder_news_widgets_field_type ) { // Standard text field case 'text' : ?>
'; foreach ( $allrounder_news_widgets_field_options as $athm_option_name => $athm_option_title) { if( isset( $athm_field_value[$athm_option_name] ) ) { $athm_field_value[$athm_option_name] = 1; }else{ $athm_field_value[$athm_option_name] = 0; } ?>
/>
'; if (isset($allrounder_news_widgets_description)) { ?>
';
foreach( $allrounder_news_widgets_field_options as $athm_option_name => $athm_option_title ) { ?>
/>