Ooyala::admin_notices PHP Method

admin_notices() public method

Notify the user if the API credentials have not been entered
public admin_notices ( )
    function admin_notices()
    {
        $url = admin_url('options-media.php#ooyala');
        if ($this->configured() || !current_user_can('manage_options')) {
            return;
        }
        ?>
		<div class="update-nag">
			<?php 
        echo wp_kses_post(sprintf(__('Your Ooyala API credentials are not configured in <a href="%s">Media Settings</a>.', 'ooyala'), esc_url($url)));
        ?>
		</div>
		<?php 
    }