Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. <div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo esc_attr( $form_id ); ?>">
  2.  
  3. <div class="um-form">
  4.  
  5. <form method="post" action="">
  6.  
  7. <?php
  8. /**
  9. * UM hook
  10. *
  11. * @type action
  12. * @title um_before_form
  13. * @description Some actions before register form
  14. * @input_vars
  15. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  16. * @change_log
  17. * ["Since: 2.0"]
  18. * @usage add_action( 'um_before_form', 'function_name', 10, 1 );
  19. * @example
  20. * <?php
  21. * add_action( 'um_before_form', 'my_before_form', 10, 1 );
  22. * function my_before_form( $args ) {
  23. * // your code here
  24. * }
  25. * ?>
  26. */
  27. do_action( "um_before_form", $args );
  28.  
  29. /**
  30. * UM hook
  31. *
  32. * @type action
  33. * @title um_before_{$mode}_fields
  34. * @description Some actions before register form fields
  35. * @input_vars
  36. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  37. * @change_log
  38. * ["Since: 2.0"]
  39. * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
  40. * @example
  41. * <?php
  42. * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
  43. * function my_before_form( $args ) {
  44. * // your code here
  45. * }
  46. * ?>
  47. */
  48. do_action( "um_before_{$mode}_fields", $args );
  49.  
  50. /**
  51. * UM hook
  52. *
  53. * @type action
  54. * @title um_before_{$mode}_fields
  55. * @description Some actions before register form fields
  56. * @input_vars
  57. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  58. * @change_log
  59. * ["Since: 2.0"]
  60. * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
  61. * @example
  62. * <?php
  63. * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
  64. * function my_before_form( $args ) {
  65. * // your code here
  66. * }
  67. * ?>
  68. */
  69. do_action( "um_main_{$mode}_fields", $args );
  70.  
  71. /**
  72. * UM hook
  73. *
  74. * @type action
  75. * @title um_after_form_fields
  76. * @description Some actions after register form fields
  77. * @input_vars
  78. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  79. * @change_log
  80. * ["Since: 2.0"]
  81. * @usage add_action( 'um_after_form_fields', 'function_name', 10, 1 );
  82. * @example
  83. * <?php
  84. * add_action( 'um_after_form_fields', 'my_after_form_fields', 10, 1 );
  85. * function my_after_form_fields( $args ) {
  86. * // your code here
  87. * }
  88. * ?>
  89. */
  90. do_action( "um_after_form_fields", $args );
  91.  
  92. /**
  93. * UM hook
  94. *
  95. * @type action
  96. * @title um_after_{$mode}_fields
  97. * @description Some actions after register form fields
  98. * @input_vars
  99. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  100. * @change_log
  101. * ["Since: 2.0"]
  102. * @usage add_action( 'um_after_{$mode}_fields', 'function_name', 10, 1 );
  103. * @example
  104. * <?php
  105. * add_action( 'um_after_{$mode}_fields', 'my_after_form_fields', 10, 1 );
  106. * function my_after_form_fields( $args ) {
  107. * // your code here
  108. * }
  109. * ?>
  110. */
  111. do_action( "um_after_{$mode}_fields", $args );
  112.  
  113. /**
  114. * UM hook
  115. *
  116. * @type action
  117. * @title um_after_form
  118. * @description Some actions after register form fields
  119. * @input_vars
  120. * [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
  121. * @change_log
  122. * ["Since: 2.0"]
  123. * @usage add_action( 'um_after_form', 'function_name', 10, 1 );
  124. * @example
  125. * <?php
  126. * add_action( 'um_after_form', 'my_after_form', 10, 1 );
  127. * function my_after_form( $args ) {
  128. * // your code here
  129. * }
  130. * ?>
  131. */
  132. do_action( "um_after_form", $args ); ?>
  133.  
  134. </form>
  135.  
  136. </div>
  137.  
  138. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement