wordpress/wp-content/themes/developry-lite/inc/theme-options.php
/**
 * Attach WP admin notice with link to the theme documentation page.
 *
 * @since 1.0.0
 * @return void
 */
Attach WP admin notice with link to the theme documentation page.
Attach WP admin notice with link to the theme documentation page .
function developry_theme_documentation() {
	$user_id = get_current_user_id();
	if ( ! get_user_meta( $user_id, 'developry_theme_documentation_panel_dismissed' ) ) {
		print sprintf(
			'<div class="notice notice-info is-dismissible"><p><strong><big>%s</big></strong><br />%s<a href="' . esc_url( DOCUMENTATION_URL ) . '" target="_blank" class="button button-primary button-large">%s</a><br /><a href="?dismiss-documentation-notice"><strong>Dismiss this notice</strong></a></p></div>',
			esc_html( 'Thank you for choosing Developry Lite! ' , 'developry-lite' ),
			esc_html( 'For additonal information, usage, features and demos take a look at the ' , 'developry-lite' ),
			esc_html( 'Documentation' , 'developry-lite' )
		);
	}
}
function developry_theme_documentation ( ) { $ user_id = get_current_user_id ( ) ; if ( ! get_user_meta ( $ user_id , 'developry_theme_documentation_panel_dismissed' ) ) { print sprintf ( '<div class="notice notice-info is-dismissible"><p><strong><big>%s</big></strong><br />%s<a href="' . esc_url ( DOCUMENTATION_URL ) . '" target="_blank" class="button button-primary button-large">%s</a><br /><a href="?dismiss-documentation-notice"><strong>Dismiss this notice</strong></a></p></div>' , esc_html ( 'Thank you for choosing Developry Lite! ' , 'developry-lite' ) , esc_html ( 'For additonal information, usage, features and demos take a look at the ' , 'developry-lite' ) , esc_html ( 'Documentation' , 'developry-lite' ) ) ; } }
Attach WP admin notice with link to the theme documentation page.
Attach WP admin notice with link to the theme documentation page .