Changeset 2670176
- Timestamp:
- 01/31/2022 10:35:44 PM (4 years ago)
- File:
-
- 1 edited
-
iflychat/trunk/iflychat.php (modified) (46 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iflychat/trunk/iflychat.php
r2668739 r2670176 6 6 * Description: One on one chat, Multiple chatrooms, Embedded chatrooms 7 7 * Author: iFlyChat Team 8 * Version: 4. 6.48 * Version: 4.7.0 9 9 * Author URI: https://iflychat.com/ 10 10 * 11 11 * @package iflychat 12 * @version 4. 6.412 * @version 4.7.0 13 13 * 14 14 * Exit if accessed directly … … 67 67 } 68 68 69 define( 'IFLYCHAT_PLUGIN_VERSION', 'WP-4. 6.4' );69 define( 'IFLYCHAT_PLUGIN_VERSION', 'WP-4.7.0' ); 70 70 if ( ! defined( 'IFLYCHAT_DEBUG' ) ) { 71 71 define( 'IFLYCHAT_DEBUG', false ); … … 86 86 * Function to get Session Token. 87 87 * 88 * @since 4. 6.488 * @since 4.7.0 89 89 * @return String $session_token as String. 90 90 */ … … 107 107 * Function to get User ID. 108 108 * 109 * @since 4. 6.4109 * @since 4.7.0 110 110 * @return String user ID as String. 111 111 */ … … 122 122 * Function to get User's Display Name. 123 123 * 124 * @since 4. 6.4124 * @since 4.7.0 125 125 * @return String user's Display Name as String or false. 126 126 */ … … 148 148 * Function to load script Async. 149 149 * 150 * @since 4. 6.4150 * @since 4.7.0 151 151 * @param String $url String. 152 152 * @return String $url String. … … 166 166 * Function to Initialise the plugin. 167 167 * 168 * @since 4. 6.4168 * @since 4.7.0 169 169 */ 170 170 function iflychat_init() { … … 220 220 * Function to get user_details 221 221 * 222 * @since 4. 6.4222 * @since 4.7.0 223 223 */ 224 224 function _iflychat_get_user_auth() { … … 308 308 * Function to get User authentication 309 309 * 310 * @since 4. 6.4310 * @since 4.7.0 311 311 */ 312 312 function _iflychat_get_auth() { … … 452 452 * Function to get mobile authentication 453 453 * 454 * @since 4. 6.4454 * @since 4.7.0 455 455 */ 456 456 function iflychat_mobile_auth() { … … 481 481 * Function to Submit chat 482 482 * 483 * @since 4. 6.4483 * @since 4.7.0 484 484 */ 485 485 function iflychat_submit_uth() { … … 497 497 * Function to Install plugin 498 498 * 499 * @since 4. 6.4499 * @since 4.7.0 500 500 */ 501 501 function iflychat_install() { … … 506 506 * Function to uninstall plugin 507 507 * 508 * @since 4. 6.4508 * @since 4.7.0 509 509 */ 510 510 function iflychat_uninstall() { … … 515 515 * Function to Set Settings option 516 516 * 517 * @since 4. 6.4517 * @since 4.7.0 518 518 */ 519 519 function iflychat_set_options() { … … 648 648 * Function to create Settings page 649 649 * 650 * @since 4. 6.4650 * @since 4.7.0 651 651 */ 652 652 function iflychat_settings() { … … 860 860 * Function to check if iflychat is installed 861 861 * 862 * @since 4. 6.4862 * @since 4.7.0 863 863 */ 864 864 function iflychat_is_installed() { … … 875 875 * Function to array of settings options. 876 876 * 877 * @since 4. 6.4877 * @since 4.7.0 878 878 * @return Array settings options as Array. 879 879 */ … … 895 895 * Function to get url method. 896 896 * 897 * @since 4. 6.4897 * @since 4.7.0 898 898 * @return String URL method as String. 899 899 */ … … 911 911 * Function to add settings page. 912 912 * 913 * @since 4. 6.4913 * @since 4.7.0 914 914 */ 915 915 function iflychat_settings_page() { … … 924 924 * Function to register settings loops through options. 925 925 * 926 * @since 4. 6.4926 * @since 4.7.0 927 927 */ 928 928 function iflychat_register_settings() { … … 946 946 * Function to Validate form fields. 947 947 * 948 * @since 4. 6.4948 * @since 4.7.0 949 949 * @return Boolean true or false as Boolean. 950 950 */ … … 967 967 * Function to Update site options. 968 968 * 969 * @since 4. 6.4969 * @since 4.7.0 970 970 */ 971 971 function iflychat_network_settings() { … … 1022 1022 * Function to check path match or not. 1023 1023 * 1024 * @since 4. 6.41024 * @since 4.7.0 1025 1025 * @param String $path path name as string. 1026 1026 * @param String $patterns path name as string. … … 1045 1045 * Function to check path check. 1046 1046 * 1047 * @since 4. 6.41047 * @since 4.7.0 1048 1048 * @return Boolean $page_match true or false Boolean. 1049 1049 */ … … 1077 1077 * Function to return content type. 1078 1078 * 1079 * @since 4. 6.41079 * @since 4.7.0 1080 1080 * @return string content type as string. 1081 1081 */ … … 1087 1087 * Function to send ofline message. 1088 1088 * 1089 * @since 4. 6.41089 * @since 4.7.0 1090 1090 */ 1091 1091 function iflychat_send_offline_message() { … … 1114 1114 * Function to check admin chat. 1115 1115 * 1116 * @since 4. 6.41116 * @since 4.7.0 1117 1117 * @return Boolean admin chat true or false as Boolean. 1118 1118 */ … … 1140 1140 * Function to check chat is moderator. 1141 1141 * 1142 * @since 4. 6.41142 * @since 4.7.0 1143 1143 * @return Boolean chat moderator true or false as Boolean. 1144 1144 */ … … 1162 1162 * Function to destroy session ( session unset ). 1163 1163 * 1164 * @since 4. 6.41164 * @since 4.7.0 1165 1165 */ 1166 1166 function iflychat_token_destroy() { … … 1188 1188 * Function to set cookie for user login. 1189 1189 * 1190 * @since 4. 6.41190 * @since 4.7.0 1191 1191 */ 1192 1192 function iflychat_user_login() { … … 1199 1199 * Function to set cookie and destroy token for user logout. 1200 1200 * 1201 * @since 4. 6.41201 * @since 4.7.0 1202 1202 */ 1203 1203 function iflychat_user_logout() { … … 1211 1211 * Function to get Inbox. 1212 1212 * 1213 * @since 4. 6.41213 * @since 4.7.0 1214 1214 * @return string $output messages content as string. 1215 1215 */ … … 1251 1251 * Function to get Message thread. 1252 1252 * 1253 * @since 4. 6.41253 * @since 4.7.0 1254 1254 * @param Array $atts attributes as Array. 1255 1255 * @return string $output messages content as string. … … 1314 1314 * Function to get Embed code. 1315 1315 * 1316 * @since 4. 6.41316 * @since 4.7.0 1317 1317 * @param Array $atts attributes as Array. 1318 1318 * @return string $output messages content as string. … … 1369 1369 * Function to get Embed code. 1370 1370 * 1371 * @since 4. 6.41371 * @since 4.7.0 1372 1372 * @return string $url URL as string. 1373 1373 */ … … 1442 1442 * Function to get user profile url. 1443 1443 * 1444 * @since 4. 6.41444 * @since 4.7.0 1445 1445 * @return string url as string. 1446 1446 */ … … 1468 1468 * Function to get option by name. 1469 1469 * 1470 * @since 4. 6.41470 * @since 4.7.0 1471 1471 * @param string $name as option name string. 1472 1472 * @return string option value string. … … 1483 1483 * Function to Add a new option. 1484 1484 * 1485 * @since 4. 6.41485 * @since 4.7.0 1486 1486 * @param string $name as option name string. 1487 1487 * @param string $value as option value string. … … 1501 1501 * Function to update a option. 1502 1502 * 1503 * @since 4. 6.41503 * @since 4.7.0 1504 1504 * @param string $name as option name string. 1505 1505 * @param string $value as option value string. … … 1517 1517 * Function to check user access. 1518 1518 * 1519 * @since 4. 6.41519 * @since 4.7.0 1520 1520 * @return Boolean Access true or false Boolean. 1521 1521 */ … … 1534 1534 * Function to get avtar url from html. 1535 1535 * 1536 * @since 4. 6.41536 * @since 4.7.0 1537 1537 * @param String $source html as String. 1538 1538 * @return String avtar url as String. … … 1554 1554 * Function to return host name (url) . 1555 1555 * 1556 * @since 4. 6.41556 * @since 4.7.0 1557 1557 * @param Boolean $https is tru or false as boolean. 1558 1558 * @return String url as String. … … 1577 1577 * Function to get string. 1578 1578 * 1579 * @since 4. 6.41579 * @since 4.7.0 1580 1580 * @param String $words as String. 1581 1581 * @return String $final word as String. … … 1590 1590 * Function to check chat camp. 1591 1591 * 1592 * @since 4. 6.41592 * @since 4.7.0 1593 1593 * @return Boolean true or false as Boolean. 1594 1594 */ … … 1606 1606 * Function to add chatcamp userdata. 1607 1607 * 1608 * @since 4. 6.41608 * @since 4.7.0 1609 1609 * @param Array $data users data as Array. 1610 1610 * @return Array $data users data as Array. … … 1625 1625 * Function to check user update or not. 1626 1626 * 1627 * @since 4. 6.41627 * @since 4.7.0 1628 1628 * @param Array $new users data as Array. 1629 1629 * @param Object $old users data as Object.
Note: See TracChangeset
for help on using the changeset viewer.