- added a reinit function for acf fields after form validation
- added a plugin version of the modal patch for form builder
This commit is contained in:
@@ -22,7 +22,7 @@ if (!defined('ABSPATH')) {
|
||||
* - $menu_redirect = $current_url -> https://le_site_actuel.com/la_meme_page
|
||||
* - $menu_redirect = 'www.un_autre_site.net/contact' -> https://www.un_autre_site.net/contact
|
||||
*/
|
||||
function change_menu($items){
|
||||
function change_menu_logout($items){
|
||||
$menu_title = 'special logout';
|
||||
|
||||
// quelques urls utiles :
|
||||
@@ -37,7 +37,7 @@ function change_menu($items){
|
||||
}
|
||||
return $items;
|
||||
}
|
||||
add_filter('wp_nav_menu_objects', 'change_menu');
|
||||
add_filter('wp_nav_menu_objects', 'change_menu_logout');
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user