JoeHana
5/10/2013 - 4:03 PM

Convert search form action URL for qTranslate

Convert search form action URL for qTranslate

<?php

/**
 * Convert search form action
 * URL for qTranslate
 */
 
add_filter( 'wpcasa_do_property_search_form_action', 'qtranslate_do_property_search_form_action' );

function qtranslate_do_property_search_form_action( $url ) {
	return qtrans_convertURL( $url );
}

/**
 * qTranslate feature taxonomy
 */

add_action( 'feature_add_form', 'qtrans_modifyTermFormFor' );
add_action( 'feature_edit_form', 'qtrans_modifyTermFormFor' );