Support Forum » User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Bug: image module does not safe on mobile #18755
    TobiasThieleTobiasThiele
    Participant

    Yes, I'm using an image field which works on Desktop but doesn't works on mobile devices.
    Here is the code: ( but I'm using the Metabox Builder )

    add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
    
    function your_prefix_register_meta_boxes( $meta_boxes ) {
        $prefix = '';
    
        $meta_boxes[] = array (
            'title' => esc_html__( 'Ihre Haustiere', 'text-domain' ),
            'id' => 'haustiere',
            'fields' => array(
                array (
                    'id' => $prefix . 'customer_pets',
                    'type' => 'group',
                    'name' => esc_html__( 'Ihre Haustiere', 'text-domain' ),
                    'fields' => array(
                        array (
                            'id' => $prefix . 'pet_image',
                            'type' => 'image',
                            'name' => esc_html__( 'Bild', 'text-domain' ),
                            'force_delete' => 1,
                            'max_file_uploads' => 1,
                            'columns' => 4,
                        ),
                        ...
                    ),
                    'clone' => 1,
                    'default_state' => 'expanded',
                    'columns' => 12,
                ),
            ),
            'type' => 'user',
        );
    
        return $meta_boxes;
    }
    TobiasThieleTobiasThiele
    Participant

    push?

    in reply to: MB Settings Page in REST API #16586
    TobiasThieleTobiasThiele
    Participant

    Hey, thanks for your answer (:

    How would this route look like and the function behind the route?

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)