Search
 
SCRIPT & CODE EXAMPLE
 

PHP

display product page title in field cf7

wpcf7_add_shortcode( 'cf7_extra_fields', 'cf7_extra_fields_func', true );
function cf7_extra_fields_func( $atts ) {
   $html = '';
   $html .= '<input type="hidden" name="page-title" value="'.get_the_title().'" />';
   $html .= '<input type="hidden" name="page-url" value="'.get_the_permalink().'" />';
   return $html;
}
Comment

PREVIOUS NEXT
Code Example
Php :: Drupal 9 select node data with query conditions using entity type manager 
Php :: import csv in laravel 
Php :: 0 == "string" php 
Php :: fetch email from url contact form 7 
Php :: drupal 7 hook_node_insert 
Php :: onde fica o php ini ubuntu 
Php :: Laravel eloquent tricks 
Php :: Display a variable containing html in laravel 
Php :: how to verify envato purchase code in php 
Php :: PHP Superglobal - $_POST 
Php :: php decode base64 online 
Php :: wordpress acf image array 
Php :: dir_instalación_Zend_Studiopluginscom.zend.php.debug.debugger.win32.x86_10.6.0.v20140121-1240 esourcesphp.ini 
Php :: get index number wordpress loop 
Php :: symfony send exception 
Php :: multipart json test laravel 
Php :: php bcdiv 
Php :: How to get only content-length with CURL PHP? 
Php :: old codestar radio field 
Php :: automatically create html page using php and mysql 
Php :: Yii2 Dynamic Relational, Eager loading 
Php :: php variable array for json encode data 
Php :: install PHP extension "amqp" not found, please install it 
Php :: php mysql foreach is bad pardics ? 
Php :: exclude row from clooection laravel 
Php :: Returning JSON from a PHP Script 
Php :: yii framework 
Php :: stripslash 
Php :: laravel share 
Php :: phpstorm deployment 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =