Support » Plugin: Contact Form 7 - Post Fields » Custom placeholder for drop-down with posts

  • Hello, your plugin can add first include_blank element to list, but I need to change default — Select — to my custom text, can I do this? How?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Markus Wiesenhofer


    Yes you can do this with the ‘wpcf7_your_tag_placeholder’ filter đŸ™‚

    Best regards

    Thread Starter pettrushkov



    Can u share example pls? Can’t find anything in google with this filter


    Plugin Author Markus Wiesenhofer


    add_filter('wpcf7_your_tag_placeholder', 'wpcf7_your_tag_change_placeholder', 10, 3);
    function wpcf7_your_tag_change_placeholder($placeholder, $post_type, WPCF7_FormTag $tag) {
    return $placeholder.' ('.$post_type.')';
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom placeholder for drop-down with posts’ is closed to new replies.