{"id":235,"date":"2018-01-17T12:06:43","date_gmt":"2018-01-17T10:06:43","guid":{"rendered":"https:\/\/kbwpbakerycom.wpengine.com\/?docs=inner-api\/vc_remove_param"},"modified":"2018-01-17T16:27:47","modified_gmt":"2018-01-17T14:27:47","slug":"vc_remove_param","status":"publish","type":"docs","link":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/","title":{"rendered":"vc_remove_param()"},"content":{"rendered":"<p>To remove parameter from existing content element you can use\u00a0<em>vc_remove_param()<\/em>\u00a0function.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">&lt;?php vc_remove_param( $shortcode, $attribute_name ); ?&gt;<\/pre>\n<h2 id=\"vc_remove_param()-Params\">Params<\/h2>\n<div class=\"table-wrap\">\n<table class=\"confluenceTable tablesorter tablesorter-default\" role=\"grid\">\n<thead>\n<tr class=\"tablesorter-headerRow\" role=\"row\">\n<th class=\"confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted\" tabindex=\"0\" role=\"columnheader\" scope=\"col\" data-column=\"0\" aria-disabled=\"false\" aria-sort=\"none\" aria-label=\"Param name: No sort applied, activate to apply an ascending sort\">\n<div class=\"tablesorter-header-inner\">Param name<\/div>\n<\/th>\n<th class=\"confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted\" tabindex=\"0\" role=\"columnheader\" scope=\"col\" data-column=\"1\" aria-disabled=\"false\" aria-sort=\"none\" aria-label=\"Type: No sort applied, activate to apply an ascending sort\">\n<div class=\"tablesorter-header-inner\">Type<\/div>\n<\/th>\n<th class=\"confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted\" tabindex=\"0\" role=\"columnheader\" scope=\"col\" data-column=\"2\" aria-disabled=\"false\" aria-sort=\"none\" aria-label=\"Description: No sort applied, activate to apply an ascending sort\">\n<div class=\"tablesorter-header-inner\">Description<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody aria-live=\"polite\" aria-relevant=\"all\">\n<tr role=\"row\">\n<td class=\"confluenceTd\">$shortcode<\/td>\n<td class=\"confluenceTd\">String<\/td>\n<td class=\"confluenceTd\">Shortcode base. For\u00a0<em>[my_shortcode]<\/em>\u00a0shortcode base is my_shortcode. For default &#8220;Message box&#8221; element, base is &#8220;vc_message&#8221;<\/td>\n<\/tr>\n<tr role=\"row\">\n<td class=\"confluenceTd\">$attribute_name<\/td>\n<td class=\"confluenceTd\">String<\/td>\n<td class=\"confluenceTd\">Parameter name (param_name) from &#8220;params&#8221; array in your\u00a0<a href=\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_map\" data-linked-resource-id=\"524332\" data-linked-resource-version=\"15\" data-linked-resource-type=\"page\">vc_map function call<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"vc_remove_param()-Example\">Example<\/h2>\n<p>If you wish to remove &#8220;Extra css class&#8221; from &#8220;Message box&#8221; content element, you should use this code.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">&lt;?php\r\nvc_remove_param( \"vc_message\", \"el_class\" ); \/\/ Note: 'vc_message' was used as a base for \"Message box\" element\r\n?&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"featured_media":0,"parent":207,"menu_order":12,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-235","docs","type-docs","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>vc_remove_param() - WPBakery Page Builder 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:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"vc_remove_param() - WPBakery Page Builder Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"To remove parameter from existing content element you can use\u00a0vc_remove_param()\u00a0function. &lt;?php vc_remove_param( $shortcode, $attribute_name ); ?&gt; Params Param name Type Description $shortcode String Shortcode base. For\u00a0[my_shortcode]\u00a0shortcode base is my_shortcode. For default &#8220;Message box&#8221; element, base is &#8220;vc_message&#8221; $attribute_name String Parameter name (param_name) from &#8220;params&#8221; array in your\u00a0vc_map function call Example If you wish to remove [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBakery Page Builder Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-17T14:27:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/\",\"url\":\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/\",\"name\":\"vc_remove_param() - WPBakery Page Builder Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/kb.wpbakery.com\/#website\"},\"datePublished\":\"2018-01-17T10:06:43+00:00\",\"dateModified\":\"2018-01-17T14:27:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kb.wpbakery.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Inner API\",\"item\":\"https:\/\/kb.wpbakery.com\/docs\/inner-api\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"vc_remove_param()\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.wpbakery.com\/#website\",\"url\":\"https:\/\/kb.wpbakery.com\/\",\"name\":\"WPBakery Page Builder Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.wpbakery.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.wpbakery.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.wpbakery.com\/#organization\",\"name\":\"WPBakery Page Builder\",\"url\":\"https:\/\/kb.wpbakery.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.wpbakery.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.wpbakery.com\/wp-content\/uploads\/2018\/01\/wpb-logo.png\",\"contentUrl\":\"https:\/\/kb.wpbakery.com\/wp-content\/uploads\/2018\/01\/wpb-logo.png\",\"width\":312,\"height\":46,\"caption\":\"WPBakery Page Builder\"},\"image\":{\"@id\":\"https:\/\/kb.wpbakery.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"vc_remove_param() - WPBakery Page Builder 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:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/","og_locale":"en_US","og_type":"article","og_title":"vc_remove_param() - WPBakery Page Builder Knowledge Base","og_description":"To remove parameter from existing content element you can use\u00a0vc_remove_param()\u00a0function. &lt;?php vc_remove_param( $shortcode, $attribute_name ); ?&gt; Params Param name Type Description $shortcode String Shortcode base. For\u00a0[my_shortcode]\u00a0shortcode base is my_shortcode. For default &#8220;Message box&#8221; element, base is &#8220;vc_message&#8221; $attribute_name String Parameter name (param_name) from &#8220;params&#8221; array in your\u00a0vc_map function call Example If you wish to remove [&hellip;]","og_url":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/","og_site_name":"WPBakery Page Builder Knowledge Base","article_modified_time":"2018-01-17T14:27:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/","url":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/","name":"vc_remove_param() - WPBakery Page Builder Knowledge Base","isPartOf":{"@id":"https:\/\/kb.wpbakery.com\/#website"},"datePublished":"2018-01-17T10:06:43+00:00","dateModified":"2018-01-17T14:27:47+00:00","breadcrumb":{"@id":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_param\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kb.wpbakery.com\/"},{"@type":"ListItem","position":2,"name":"Inner API","item":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/"},{"@type":"ListItem","position":3,"name":"vc_remove_param()"}]},{"@type":"WebSite","@id":"https:\/\/kb.wpbakery.com\/#website","url":"https:\/\/kb.wpbakery.com\/","name":"WPBakery Page Builder Knowledge Base","description":"","publisher":{"@id":"https:\/\/kb.wpbakery.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.wpbakery.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.wpbakery.com\/#organization","name":"WPBakery Page Builder","url":"https:\/\/kb.wpbakery.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.wpbakery.com\/#\/schema\/logo\/image\/","url":"https:\/\/kb.wpbakery.com\/wp-content\/uploads\/2018\/01\/wpb-logo.png","contentUrl":"https:\/\/kb.wpbakery.com\/wp-content\/uploads\/2018\/01\/wpb-logo.png","width":312,"height":46,"caption":"WPBakery Page Builder"},"image":{"@id":"https:\/\/kb.wpbakery.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":0,"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs\/235\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs\/207"}],"next":[{"title":"vc_set_as_theme()","link":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_set_as_theme\/","href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs\/236"}],"prev":[{"title":"vc_remove_element()","link":"https:\/\/kb.wpbakery.com\/docs\/inner-api\/vc_remove_element\/","href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/docs\/234"}],"wp:attachment":[{"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.wpbakery.com\/wp-json\/wp\/v2\/doc_tag?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}