this error happens because exists tags from olds version of PHP
check if exists in php.ini and remove or comment allow_call_time_pass_reference
check if exist any tag unable in php 7.1 like
;asp_tags = Off ;register_globals = Off
| <?php | |
| add_action( 'woocommerce_admin_order_item_headers', 'collumn_invoice_header' ); | |
| function collumn_invoice_header($order){ | |
| ?> | |
| <th class="line_produtor_title sortable" data-sort="your-sort-option"> | |
| name collumn | |
| </th> | |
| <?php | |
| } |
this error happens because exists tags from olds version of PHP
check if exists in php.ini and remove or comment allow_call_time_pass_reference
check if exist any tag unable in php 7.1 like
;asp_tags = Off ;register_globals = Off
| bower_components/* | |
| node_modules/* |
.git-ftp-ignore | Conteúdo abaixo
bower_components/* node_modules/*
.git-ftp-include | Conteúdo abaixo
vendor/:composer.lock
Dentro da pasta .git, checar arquivo config
| version: '2' | |
| # Named volumes | |
| volumes: | |
| # MySQL Data | |
| wordpress-mysql-data: | |
| driver: local | |
| # Redis Data |
| /** | |
| * when cf7 ajax-loader | |
| * @param {[type]} form [description] | |
| * @return {[type]} [description] | |
| */ | |
| wpcf7.submit = function( form ) { | |
| if ( typeof window.FormData !== 'function' ) { | |
| return; | |
| } |
| <?php | |
| function devplus_attachments_wpquery_where( $where ){ | |
| if( is_user_logged_in() ){ | |
| // we spreken over een ingelogde user | |
| if( isset( $_POST['action'] ) ){ | |
| // library query | |
| if( $_POST['action'] == 'query-attachments' ){ | |
| $where .= ' AND post_parent != 0'; | |
| } |
| <?php | |
| #Usage | |
| add in functions | |
| function load_more_button($context = 'default', $text = 'Carregar Mais', $template = 'parts/cards', $paged = 0) | |
| { | |
| if (empty($paged)) { | |
| $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
| } | |
| $load_more = new Load_More_Posts(); | |
| $load_more->load_more_button($context, $text, $template, $paged); |
| // SCROLL EVENT CAPTURE // | |
| var wheel = document.getElementById('wheel'); | |
| function report(ammout) { | |
| clearTimeout(time); | |
| if(ammout > 0){ | |
| time = setTimeout(previousPage, 300); |
| display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: -webkit-flex; | |
| display: flex; | |
| -webkit-box-pack: center; | |
| -ms-flex-pack: center; | |
| -webkit-justify-content: center; | |
| justify-content: center; | |
| -webkit-box-align: center; | |
| -ms-flex-align: center; |