fix
This commit is contained in:
@@ -3,9 +3,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$form_title = isset( $args['title'] ) ? $args['title'] : 'Оставить заявку';
|
||||
$form_page = isset( $args['page'] ) ? $args['page'] : '';
|
||||
$form_source = isset( $args['source'] ) ? $args['source'] : 'Встроенная форма';
|
||||
$form_args = isset( $args ) && is_array( $args ) ? $args : array();
|
||||
$form_title = isset( $form_args['title'] ) ? $form_args['title'] : 'Оставить заявку';
|
||||
$form_page = isset( $form_args['page'] ) ? $form_args['page'] : '';
|
||||
$form_source = isset( $form_args['source'] ) ? $form_args['source'] : 'Встроенная форма';
|
||||
?>
|
||||
<form class="lead-form" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" method="post">
|
||||
<input type="hidden" name="action" value="sev_tort_lead">
|
||||
|
||||
Reference in New Issue
Block a user