';
}
}
function import_notice_check(){
$plugin_path = 'apollo13-framework-extensions/apollo13-framework-extensions.php';
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if ( is_plugin_active( $plugin_path ) ){
return;
}
if( !apollo13framework_is_admin_notice_active( 'fresh_import' ) ){
return;
}
remove_action('tgmpa_register', 'apollo13framework_register_required_plugins');
add_action( 'apollo13framework_theme_notices', array( $this, 'import_notice' ) );
}
function import_notice(){
echo '';
/* translators: %s: Theme name */
echo '
'.sprintf( esc_html__( 'Welcome to %s Theme', 'rife-free' ), esc_html(A13FRAMEWORK_OPTIONS_NAME_PART )).'
';
echo '
'.esc_html__( 'If you have fresh installation then it would be good time to import one of our designs.', 'rife-free' ).'
';
echo '
'.esc_html__( 'Go to Design Importer', 'rife-free').'
';
echo '
';
}
}
//run
new Apollo13Framework_Rifef();