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 / Formello.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
Formello.php
56 lines
1 <?php
2 /**
3 * Makes Formello compatible with WP-Parsidate plugin
4 *
5 * @package WP-Parsidate
6 * @subpackage Plugins/Formello
7 */
8
9 namespace WPParsidate\App\Integration;
10
11 defined( 'ABSPATH' ) || exit;
12
13 use WPParsidate\Addons\Addon;
14
15 class Formello extends Addon {
16 public string $addonID = 'formello';
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 .= "\nwp_date,add_details,Formello\Processor\Form";
24
25 return $rawList;
26 }
27
28 public function info(): array {
29 $svg = '<?xml version="1.0" encoding="UTF-8"?>
30 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
31 <path d="M0.13 0.13C85.38 0.13 170.63 0.13 255.88 0.13C255.88 85.38 255.88 170.63 255.88 255.88C170.63 255.88 85.38 255.88 0.13 255.88C0.13 170.63 0.13 85.38 0.13 0.13ZM173.32 81.25C171.43 75.74 164.1 70.85 159.45 67.78C138.28 53.78 108.53 59.64 93.27 79.52C82.04 94.16 82.41 111.13 82.41 128.75C82.41 139.25 82.41 149.75 82.41 160.25C82.41 170.42 80.96 187.68 82.74 196.99C95.82 196.99 108.9 196.99 121.98 196.99C122.24 185.39 122.49 173.8 122.75 162.2C127.03 162.2 131.3 162.2 135.58 162.2C135.58 150.32 135.58 138.44 135.58 126.57C131.21 126.29 126.83 126.02 122.46 125.75C121.78 122.79 122.22 119.31 122.22 116.25C122.22 108.64 122.44 93.02 135.1 98.2C138.36 99.53 138.94 102.55 141.14 104.75C151.86 96.92 162.59 89.08 173.32 81.25Z" fill="#975be5" fill-rule="evenodd" stroke="#975be5" stroke-width="0.25" stroke-linejoin="round"/>
32 <path d="M173.32 81.25C162.59 89.08 151.86 96.92 141.14 104.75C138.94 102.55 138.36 99.53 135.1 98.2C122.44 93.02 122.22 108.64 122.22 116.25C122.22 119.31 121.78 122.79 122.46 125.75C126.83 126.02 131.21 126.29 135.58 126.57C135.58 138.44 135.58 150.32 135.58 162.2C131.3 162.2 127.03 162.2 122.75 162.2C122.49 173.8 122.24 185.39 121.98 196.99C108.9 196.99 95.82 196.99 82.74 196.99C80.96 187.68 82.41 170.42 82.41 160.25C82.41 149.75 82.41 139.25 82.41 128.75C82.41 111.13 82.04 94.16 93.27 79.52C108.53 59.64 138.28 53.78 159.45 67.78C164.1 70.85 171.43 75.74 173.32 81.25Z" fill="#ffffff" fill-rule="evenodd" stroke="#ffffff" stroke-width="0.25" stroke-linejoin="round"/>
33 </svg>';
34
35 return array(
36 'id' => $this->addonID,
37 'title' => esc_html__( 'Formello', 'wp-parsidate' ),
38 'desc' => esc_html__( 'ParsiDate integration for Formello', 'wp-parsidate' ),
39 'force_enable' => true,
40 'icon' => $svg,
41 'image_link' => 'https://wordpress.org/plugins/formello/',
42 'tags' => [ esc_html__( 'Form', 'wp-parsidate' ) ],
43 'cat' => 'integration',
44 'settings_key' => $this->addonID,
45 'requires_plugins' => [
46 'formello/formello.php' => array(
47 'is_wp_plugin' => true,
48 'is_free' => true,
49 'plugin_link' => 'https://wordpress.org/plugins/formello/',
50 'function_check' => 'formello_run',
51 )
52 ]
53 );
54 }
55 }
56