{"id":438,"date":"2020-01-03T11:56:30","date_gmt":"2020-01-03T11:56:30","guid":{"rendered":"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/filters\/cpt-item-secret-content\/"},"modified":"2020-01-03T12:17:03","modified_gmt":"2020-01-03T12:17:03","slug":"cpt-item-secret-content-sendback-element","status":"publish","type":"docs","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/","title":{"rendered":"CPT: Item Secret Content (Sendback Element)"},"content":{"rendered":"\n<p class=\"has-text-color has-background has-luminous-vivid-amber-color has-very-dark-gray-background-color\">Filter ID: <strong>envato_castle\/filters\/developer\/cpt\/item_scrt\/element\/content<\/strong><\/p>\n\n\n\n<p>Example: Add new repeater with two text boxes and merge with the builtin repeater TGM Plugins.<\/p>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'envato_castle\/filters\/developer\/cpt\/item_scrt\/element\/content', 'THEME_SLUG_ele_sendback_array' );\n\nfunction THEME_SLUG_ele_sendback_array( $builtin_elemnts ) {\n\n    $my_elemnts = array(\n\n        array( \n            'id' =&gt; 'repeater_generic',\n            'title' =&gt; esc_html__( 'Repeater Title', 'YOUR_TEXT_DOMAIN' ),\n            'type' =&gt; 'repeater',\n            'params'    =&gt; array(\n                'buttons'   =&gt; array(\n                    'show_add'      =&gt; false,\n                    'show_delete'   =&gt; true,\n                    'show_collapse' =&gt; true,\n                    'show_sort'     =&gt; true,\n                ),\n                'text'      =&gt; array(\n                    'add_new'       =&gt; esc_html__( 'Add New Demo', 'YOUR_TEXT_DOMAIN' )\n                )\n            ),\n            'controls'    =&gt; array(\n                array(\n                    'id' =&gt; 'title',\n                    'title' =&gt; esc_html__( 'Title', 'YOUR_TEXT_DOMAIN' ),\n                    'description' =&gt; esc_html__( 'Describe this content with couple words.', 'YOUR_TEXT_DOMAIN' ),\n                    'default' =&gt; '',\n                    'type' =&gt; 'text',\n                    'params'    =&gt; array(\n                        'controls_source'   =&gt; 'repeater',\n                        'js_title'          =&gt; true,\n                        'required'          =&gt; true,\n                    )\n                ),\n                \n                array(\n                    'id' =&gt; 'url',\n                    'title' =&gt; esc_html__( 'Demo URL', 'YOUR_TEXT_DOMAIN' ),\n                    'description' =&gt; esc_html__( 'Describe this content with couple words.', 'YOUR_TEXT_DOMAIN' ),\n                    'default' =&gt; '',\n                    'type' =&gt; 'text',\n                    'params'    =&gt; array(\n                        'required'          =&gt; true,\n                    )\n                ),\n            )\n\n        ),\n\n    );\n\n\n    return array_merge( $builtin_elemnts, $my_elemnts );\n\n}\n<\/pre>\n","protected":false},"featured_media":0,"parent":432,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-438","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CPT: Item Secret Content (Sendback Element) - Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"CPT: Item Secret Content (Sendback Element) - Knowledge Base\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"Filter ID: envato_castle\/filters\/developer\/cpt\/item_scrt\/element\/content Example: Add new repeater with two text boxes and merge with the builtin repeater TGM Plugins.\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-03T12:17:03+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/\",\"url\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/\",\"name\":\"CPT: Item Secret Content (Sendback Element) - Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/oxibug.com\/kb\/#website\"},\"datePublished\":\"2020-01-03T11:56:30+00:00\",\"dateModified\":\"2020-01-03T12:17:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/oxibug.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KeyGator\",\"item\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Filters\",\"item\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"CPT: Item Secret Content (Sendback Element)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oxibug.com\/kb\/#website\",\"url\":\"https:\/\/oxibug.com\/kb\/\",\"name\":\"Knowledge Base\",\"description\":\"Projects Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oxibug.com\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CPT: Item Secret Content (Sendback Element) - Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/","og_locale":"en_US","og_type":"article","og_title":"CPT: Item Secret Content (Sendback Element) - Knowledge Base","og_description":"Filter ID: envato_castle\/filters\/developer\/cpt\/item_scrt\/element\/content Example: Add new repeater with two text boxes and merge with the builtin repeater TGM Plugins.","og_url":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/","og_site_name":"Knowledge Base","article_modified_time":"2020-01-03T12:17:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/","url":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/","name":"CPT: Item Secret Content (Sendback Element) - Knowledge Base","isPartOf":{"@id":"https:\/\/oxibug.com\/kb\/#website"},"datePublished":"2020-01-03T11:56:30+00:00","dateModified":"2020-01-03T12:17:03+00:00","breadcrumb":{"@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/cpt-item-secret-content-sendback-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oxibug.com\/kb\/"},{"@type":"ListItem","position":2,"name":"KeyGator","item":"https:\/\/oxibug.com\/kb\/docs\/keygator\/"},{"@type":"ListItem","position":3,"name":"Filters","item":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/"},{"@type":"ListItem","position":4,"name":"CPT: Item Secret Content (Sendback Element)"}]},{"@type":"WebSite","@id":"https:\/\/oxibug.com\/kb\/#website","url":"https:\/\/oxibug.com\/kb\/","name":"Knowledge Base","description":"Projects Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oxibug.com\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":14,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/438\/revisions"}],"predecessor-version":[{"id":462,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/438\/revisions\/462"}],"up":[{"embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/432"}],"next":[{"title":"Frontend Pages: Modify CSS Style","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/frontend-pages-modify-css-style\/","href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/450"}],"prev":[{"title":"Introduction","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/filters\/introduction\/","href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/433"}],"wp:attachment":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}