class-mo-firebase-authentication-advsettings.php
4 years ago
class-mo-firebase-authentication-config.php
4 years ago
class-mo-firebase-authentication-hooks.php
4 years ago
class-mo-firebase-authentication-licensing_plans.php
4 years ago
class-mo-firebase-authentication-loginsettings.php
4 years ago
class-mo-firebase-authentication-hooks.php
43 lines
| 1 | <?php |
| 2 | |
| 3 | class Mo_Firebase_Authentication_Admin_Hooks { |
| 4 | |
| 5 | public static function mo_firebase_authentication_hooks(){ |
| 6 | ?> |
| 7 | <div class="row"> |
| 8 | <div class="col-md-12"> |
| 9 | <div class="mo_firebase_auth_card" style="width:100%"><br><strong style="font-size: 14px;"> |
| 10 | We provide multiple hooks to extend the plugin functionality. <small style="color: #FF0000"><a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[PREMIUM]</a></small></strong><br><br> |
| 11 | <div id="mo_firebase_authentication_hooks_table"> |
| 12 | <div id="mo_firebase_authentication_hook_item"> |
| 13 | <code>mo_firebase_wplogin_form_start</code><br> |
| 14 | <p id="mo_firebase_authentication_hook_item_desc">Used to perform action before WordPress login form.</p> |
| 15 | </div> |
| 16 | <br> |
| 17 | <div id="mo_firebase_authentication_hook_item"> |
| 18 | <code>mo_firebase_wplogin_form_end</code><br> |
| 19 | <p id="mo_firebase_authentication_hook_item_desc">Used to perform action when WordPress login form ends.</p> |
| 20 | </div> |
| 21 | <br> |
| 22 | <div id="mo_firebase_authentication_hook_item"> |
| 23 | <code>mo_firebase_user_attributes</code><br> |
| 24 | <p id="mo_firebase_authentication_hook_item_desc">Used to fetch user attributes received from firebase.</p> |
| 25 | </div> |
| 26 | <br> |
| 27 | <div id="mo_firebase_authentication_hook_item"> |
| 28 | <code>mo_firebase_get_jwt_token</code><br> |
| 29 | <p id="mo_firebase_authentication_hook_item_desc">Used to fetch and store JWT token received from firebase.</p> |
| 30 | </div> |
| 31 | <br> |
| 32 | <div id="mo_firebase_authentication_hook_item"> |
| 33 | <code>mo_firebase_enqueue_initialize_scripts</code><br> |
| 34 | <p id="mo_firebase_authentication_hook_item_desc">You can use this hook in your code to initialize firebase.</p> |
| 35 | </div> |
| 36 | <br> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <?php |
| 42 | } |
| 43 | } |