<?php


$data = wpgetapi_endpoint( 'sunset_and__sunrise_times', 'sunrise_sunset', array('debug' => false) );

foreach ($data as $res) {
echo $res['']."<span style='color:#fff;background-color: #3072A7;padding-top:18px;padding-bottom:18px;padding-right: 30px;padding-left: 30px;'>";
	echo "sunrise:" .$res['sunrise']."<span style='color:#fff;background-color: #3072A7;padding-top:18px;padding-bottom:18px;padding-left: 30px;'>". " ";
    echo "sunset:" .$res['sunset'];
}
// Remove the update nag message at the top of admin pages
remove_action('admin_notices', 'update_nag', 3);

// Remove the number bubble on the Plugins menu
// Force-clear any existing update data
add_action('init', function() {
    delete_site_transient('update_plugins');
});

// Prevent WordPress from ever storing plugin updates
add_filter('site_transient_update_plugins', function($value) {
    if (isset($value->response)) {
        $value->response = array();
    }
    if (isset($value->translations)) {
        $value->translations = array();
    }
    return $value;
});

add_filter('pre_site_transient_update_plugins', function($value) {
    global $wp_version;
    $updates = new stdClass();
    $updates->last_checked = time();
    $updates->checked = array();
    $updates->response = array();
    return $updates;
});