Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
get_next_step_link(); wp_redirect( esc_url_raw( $redirect_url ) ); exit; } /** * Locale settings */ public function page_builder_step() { ?> false, 'message' => $activate->get_error_message(), ) ); } wp_send_json_success( $stored ); } /** * Get Location rules of schema for Custom meta box. * * @param array $enabled_on Enabled on rules. * @param array $exclude_from Exlcude on rules. * @return array */ public static function get_display_rules_for_meta_box( $enabled_on, $exclude_from ) { $locations = array(); $enabled_location = array(); $exclude_location = array(); $args = array( 'public' => true, '_builtin' => true, ); $post_types = get_post_types( $args ); unset( $post_types['attachment'] ); $args['_builtin'] = false; $custom_post_type = get_post_types( $args ); $post_types = array_merge( $post_types, $custom_post_type ); if ( ! empty( $enabled_on ) && isset( $enabled_on['rule'] ) ) { $enabled_location = $enabled_on['rule']; } if ( ! empty( $exclude_from ) && isset( $exclude_from['rule'] ) ) { $exclude_location = $exclude_from['rule']; } if ( in_array( 'specifics', $enabled_location ) || ( in_array( 'basic-singulars', $enabled_location ) && ! in_array( 'basic-singulars', $exclude_location ) ) ) { foreach ( $post_types as $post_type ) { $locations[ $post_type ] = 1; } } else { foreach ( $post_types as $post_type ) { $key = $post_type . '|all'; if ( in_array( $key, $enabled_location ) && ! in_array( $key, $exclude_location ) ) { $locations[ $post_type ] = 1; } } } return $locations; } /** * Final step. */ public function ready_step() { // Set setup wizard status to complete. update_option( 'wcf_setup_complete', true ); ?>