Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden field does not display 'std' value #937

Open
valeriu opened this issue Aug 4, 2016 · 0 comments
Open

Hidden field does not display 'std' value #937

valeriu opened this issue Aug 4, 2016 · 0 comments

Comments

@valeriu
Copy link

valeriu commented Aug 4, 2016

I use this php code

            array(
                'id'   => "{$prefix}hidden",
                'type' => 'hidden',
                // Hidden field must have predefined value
                'std'  => esc_html__( 'Hidden value', 'ktlpm' ),
            ),

The result is :

<div class="rwmb-field rwmb-hidden-wrapper  hidden">
    <div class="rwmb-input">
        <input type="hidden" class="rwmb-hidden" id="ktnl_hidden" name="ktnl_hidden">
    </div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant