New answers tagged

0

I resolved the proble with ob_ functions and DOMDocument. Its better than jquery or css for protect the form. I use every time this kind of solution whene i cant access to a part of html content through a hook. function remove_extra_field_profile() { $current_file_url = preg_replace( "#\?.*#" , "" , basename( $_SERVER['REQUEST_URI'] ) ); if( ...


0

add_filter( 'wpmem_register_form_rows', 'prefix_profile', 9999, 2 ); function prefix_profile( $rows, $toggle ){ if( 'edit' == $toggle ){ foreach( $rows as $row_item ){ $rows[$row_item['meta']]['field'] = preg_replace( '/<input(.*) value="(.*)" class="textbox"(.*)\/>/', '<p class="noinput">$2&nbsp;</p>', ...



Top 50 recent answers are included