wordpress/wp-content/themes/developry-lite/inc/theme-options.php
/**
 * Allow the user to able to dismiss the notice panel.
 *
 * @since 1.0.0
 * @return void
 */
Allow the user to able to dismiss the notice panel.
Allow the user to able to dismiss the notice panel .
function developry_theme_documentation_dismissed() {
	$user_id = get_current_user_id();
	if ( isset( $_GET['dismiss-documentation-notice'] ) ) {
		add_user_meta( $user_id, 'developry_theme_documentation_panel_dismissed', 'true', true );
	}
}
function developry_theme_documentation_dismissed ( ) { $ user_id = get_current_user_id ( ) ; if ( isset ( $ _GET [ 'dismiss-documentation-notice' ] ) ) { add_user_meta ( $ user_id , 'developry_theme_documentation_panel_dismissed' , 'true' , true ) ; } }
Allow the user to able to dismiss the notice panel.
Allow the user to able to dismiss the notice panel .