PluginProbe ʕ •ᴥ•ʔ
پارسی دیت – Parsi Date / 6.2.1
پارسی دیت – Parsi Date v6.2.1
6.2.1 6.2 6.1 5.1.6 5.1.7 5.1.8 5.1.8.2 6.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.0.0-alpha 2.1 2.1.1 2.1.2 2.1.3 2.1.5 2.1.6 2.1.7 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0.1 2.3.0.2 2.3.1 2.3.2 2.3.3 2.3.4 3.0.1 3.0.2 3.0.3 4.0.0 4.0.1 4.0.2 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5
wp-parsidate / inc / App / Integration / LimitLoginAttempts.php
wp-parsidate / inc / App / Integration Last commit date
ACF 3 weeks ago WooCommerce 3 weeks ago ACF.php 3 weeks ago BulkyBulkEditProductsWooCommerce.php 3 weeks ago EDD.php 3 weeks ago Elementor.php 3 weeks ago Formello.php 3 weeks ago Integration.php 3 weeks ago JetEngine.php 3 weeks ago LimitLoginAttempts.php 3 weeks ago MonsterInsights.php 3 weeks ago RankMath.php 3 weeks ago SchemaPro.php 3 weeks ago UltimateMember.php 3 weeks ago WooCommerce.php 3 weeks ago
LimitLoginAttempts.php
53 lines
1 <?php
2 /**
3 * Makes Limit Login Attempts Security compatible with WP-Parsidate plugin
4 *
5 * @package WP-Parsidate
6 * @subpackage Plugins/LimitLoginAttemptsSecurity
7 */
8
9 namespace WPParsidate\App\Integration;
10
11 defined( 'ABSPATH' ) || exit;
12
13 use WPParsidate\Addons\Addon;
14
15 class LimitLoginAttempts extends Addon {
16 public string $addonID = 'limit_login_attempts';
17
18 public function initAction(): void {
19 add_filter( 'wp_parsidate_hook_deactivator_raw_list', [ $this, 'addDateHooksToDeactivator' ] );
20 }
21
22 public function addDateHooksToDeactivator( $rawList ): string {
23 $rawList .= "\ndate_i18n,dashboard_widgets_content,LLAR\Core\LimitLoginAttempts\ndate_i18n,options_page,LLAR\Core\LimitLoginAttempts\nwp_date,dashboard_widgets_content,LLAR\Core\LimitLoginAttempts\nwp_date,options_page,LLAR\Core\LimitLoginAttempts";
24
25 return $rawList;
26 }
27
28 public function info(): array {
29 $svg = '<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 18094 18094"><path fill="#1A3C4C" d="M10409 7968c-217 67-409 197-552 374-142 177-228 393-247 619-66 743 328 788 503 1269 138 378 70 1250 76 1711 6 547 422 1009 928 639 352-259 249-966 247-1492 0-944 19-782 413-1373 590-888-296-2099-1365-1746h-4z"/><path fill="#3DC1CE" d="M9998 3895c-5927 945-5996 9052-561 10419 326 83 1038 215 1386 151 492-92 538-769 112-918-457-160-1341 33-2466-689-3023-1947-2703-6433 752-7761 880-336 1846-377 2751-117 381 114 745 281 1080 496 232 150 701 655 1078 280 628-625-904-1335-1397-1541-866-353-1812-463-2736-319z"/><path fill="#FF9A26" d="M10178 5662c-3437 642-3681 4706-1688 6196 279 206 702 159 807-194 206-685-1278-895-1098-2751 29-348 130-687 296-994 166-308 393-578 668-794s591-373 929-461 691-106 1036-52c1811 258 2796 2405 1735 3948-153 222-584 626-619 728-129 360 238 1316 1291 0 1944-2430-230-6211-3358-5627z"/><path fill="#3DC1CE" d="M4022 10223c-343 232-192 587-34 1040 576 1687 1772 3091 3345 3928 1574 837 3407 1043 5127 578 608-155 466-1105-236-928-2708 722-5702-542-6997-3137-277-559-458-1981-1205-1480zM11331 2105c-1960-163-3857 576-5300 1785-363 379 103 1046 765 573 1517-1182 2715-1400 4511-1415 678-6 796-865 24-942z"/><rect fill="none" width="18094" height="18094" rx="4996" ry="4996"/></svg>';
30
31 return array(
32 'id' => $this->addonID,
33 'title' => esc_html__( 'Limit Login Attempts Security', 'wp-parsidate' ),
34 'desc' => esc_html__( 'ParsiDate integration for Limit Login Attempts Security', 'wp-parsidate' ),
35 'force_enable' => true,
36 'icon' => $svg,
37 'image_link' => 'https://wordpress.org/plugins/limit-login-attempts-reloaded/',
38 'tags' => [ esc_html__( 'Security', 'wp-parsidate' ) ],
39 'cat' => 'integration',
40 'settings_key' => $this->addonID,
41 'requires_plugins' => [
42 'limit-login-attempts-reloaded/limit-login-attempts-reloaded.php' => array(
43 'is_wp_plugin' => true,
44 'is_free' => true,
45 'plugin_link' => 'https://wordpress.org/plugins/limit-login-attempts-reloaded/',
46 'class_check' => 'LLAR\Core\LimitLoginAttempts',
47 'define_check' => 'LLA_PLUGIN_URL',
48 )
49 ]
50 );
51 }
52 }
53