PluginProbe ʕ •ᴥ•ʔ
پارسی دیت – Parsi Date / 4.0.0
پارسی دیت – Parsi Date v4.0.0
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 / includes / admin / widgets.php
wp-parsidate / includes / admin Last commit date
datepicker-rtl.php 4 years ago gutenberg-jalali-calendar.php 4 years ago lists-fix.php 4 years ago styles-fix.php 4 years ago widgets.php 4 years ago
widgets.php
59 lines
1 <?php
2
3 defined( 'ABSPATH' ) or exit( 'No direct script access allowed' );
4
5 /**
6 * Replace wp-planet.ir to News and Events widget
7 *
8 * @author Morteza Geransayeh
9 * @package WP-Parsidate
10 * @subpackage Core/General
11 */
12
13 /**
14 * Widget primary link
15 *
16 * @return string
17 * @author Morteza Geransayeh
18 */
19 function wpp_dashboard_primary_link() {
20 return 'https://wp-parsi.com/';
21 }
22
23 add_filter( 'dashboard_primary_link', 'wpp_dashboard_primary_link', 999, 1 );
24
25 /**
26 * Widget primary feed
27 *
28 * @return string
29 * @author Morteza Geransayeh
30 */
31 function wpp_dashboard_primary_feed() {
32 return 'https://wp-parsi.com/feed/';
33 }
34
35 add_filter( 'dashboard_primary_feed', 'wpp_dashboard_primary_feed', 999, 1 );
36
37 /**
38 * Widget secondary link
39 *
40 * @return string
41 * @author Morteza Geransayeh
42 */
43 function wpp_dashboard_secondary_link() {
44 return 'http://wp-planet.ir/';
45 }
46
47 add_filter( 'dashboard_secondary_link', 'wpp_dashboard_secondary_link', 999, 1 );
48
49 /**
50 * Widget secondary feed
51 *
52 * @return string
53 * @author Morteza Geransayeh
54 */
55 function wpp_dashboard_secondary_feed() {
56 return 'http://wp-planet.ir/feed';
57 }
58
59 add_filter( 'dashboard_secondary_feed', 'wpp_dashboard_secondary_feed', 999, 1 );