__( 'Show where we are: one place on a contact page', 'maps-by-deltabreen' ), 'locator' => __( 'Help people find our nearest shop: a store locator', 'maps-by-deltabreen' ), 'list' => __( 'Show all our places, with a list beside the map', 'maps-by-deltabreen' ), 'delivery' => __( 'Show where we deliver: areas on a map', 'maps-by-deltabreen' ), 'event' => __( 'Show an event\'s venue, with directions', 'maps-by-deltabreen' ), 'trail' => __( 'Show a walk or a ride from a GPX file', 'maps-by-deltabreen' ), ); } /** The Get started screen. */ function deltabreen_maps_setup_page() { if ( ! current_user_can( 'manage_options' ) ) { return; } $connected = '' !== deltabreen_maps_options()['key']; ?>

' . esc_html__( 'Settings → Maps by DeltaBreen', 'maps-by-deltabreen' ) . '' ); ?>

2.

$label ) : ?>

' . esc_html__( 'Import them', 'maps-by-deltabreen' ) . '', '' . esc_html__( 'add them', 'maps-by-deltabreen' ) . '' ); ?>

'page', 'post_status' => 'draft', 'post_title' => $patterns[ $choice ]['title'], 'post_content' => $patterns[ $choice ]['content'], ), true ); if ( is_wp_error( $page ) ) { wp_die( esc_html( $page->get_error_message() ) ); } wp_safe_redirect( admin_url( 'post.php?post=' . (int) $page . '&action=edit' ) ); exit; } );