|
|
|
|
|
ID );
$new_notificaton = isset( $form_settings['notification']['new'] ) ? $form_settings['notification']['new'] : 'on';
$new_to = isset( $form_settings['notification']['new_to'] ) ? $form_settings['notification']['new_to'] : get_option( 'admin_email' );
$new_subject = isset( $form_settings['notification']['new_subject'] ) ? $form_settings['notification']['new_subject'] : __( 'New post created', 'wp-user-frontend' );
$new_body = isset( $form_settings['notification']['new_body'] ) ? $form_settings['notification']['new_body'] : $new_mail_body . $mail_body;
$edit_notificaton = 'off';
$edit_to = get_option( 'admin_email' );
$edit_subject = __( 'A post has been edited', 'wp-user-frontend' );
$edit_body = $edit_mail_body . $mail_body;
?>
%post_title%, %post_content%, %post_excerpt%, %tags%, %category%,
%product_cat% ,
%author%, %author_email%, %author_bio%, %sitename%, %siteurl%, %permalink%, %editlink%
%custom_{NAME_OF_CUSTOM_FIELD}% e.g: %custom_website_url% for website_url meta field
ID );
self::get_pro_prompt();
?>
ID );
$email_verification = 'no';
$role_selected = 'subscriber';
$redirect_to = 'post';
$message = __( 'Registration successful', 'wp-user-frontend' );
$update_message = __( 'Profile updated successfully', 'wp-user-frontend' );
$page_id = 0;
$url = '';
$submit_text = __( 'Register', 'wp-user-frontend' );
$update_text = __( 'Update Profile', 'wp-user-frontend' );
?>
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ID ) === 'wpuf_profile' && $update ) {
$http_referer = isset( $_SERVER['HTTP_REFERER'] ) ? sanitize_text_field( wp_unslash( $_SERVER['HTTP_REFERER'] ) ) : '';
wp_redirect( $http_referer );
die();
}
}
/**
* Render custom taxonomies
*/
public static function render_custom_taxonomies_element() {
self::get_pro_prompt();
}
/**
* Render conditional logic
*/
public static function render_conditional_field( $field_id, $con_fields, $obj ) {
?>