PluginProbe
WPSSO Core – Complete Schema Markup and Meta Tags / 22.7.0
WPSSO Core – Complete Schema Markup and Meta Tags v22.7.0
22.7.0 22.6.1 22.6.0 22.5.3 22.5.2 22.5.1 22.4.0 22.3.0 22.2.1 22.2.0 22.1.3 22.1.2 22.1.1 22.1.0 22.0.0 21.13.3 21.13.2 trunk 21.13.1
wpsso / lib / messages-tooltip-meta-contact.php

messages-tooltip-meta-contact.php in WPSSO Core – Complete Schema Markup and Meta Tags 22.7.0, at lib/messages-tooltip-meta-contact.php

141 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * License: GPLv3
4 * License URI: https://www.gnu.org/licenses/gpl.txt
5 * Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/)
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9
10 die( 'These aren\'t the droids you\'re looking for.' );
11 }
12
13 if ( ! defined( 'WPSSO_PLUGINDIR' ) ) {
14
15 die( 'Do. Or do not. There is no try.' );
16 }
17
18 if ( ! class_exists( 'WpssoMessagesTooltipMetaContact' ) ) {
19
20 /*
21 * Instantiated by WpssoMessagesTooltipMeta->get() only when needed.
22 */
23 class WpssoMessagesTooltipMetaContact extends WpssoMessages {
24
25 public function get( $msg_key = false, $info = array() ) {
26
27 $text = '';
28
29 switch ( $msg_key ) {
30
31 case 'tooltip-meta-contact_name': // Contact Name.
32
33 $text = __( 'A name for this contact point (required).', 'wpsso' ) . ' ';
34
35 break;
36
37 case 'tooltip-meta-contact_name_alt': // Contact Alternate Name.
38
39 $text = __( 'An alternate name for this contact point.', 'wpsso' ) . ' ';
40
41 break;
42
43 case 'tooltip-meta-contact_desc': // Contact Description.
44
45 $text = __( 'A description for this contact point.', 'wpsso' ) . ' ';
46
47 break;
48
49 case 'tooltip-meta-contact_schema_type': // Contact Schema Type.
50
51 $text = __( 'You may optionally choose a more accurate Schema type for this contact point (default is ContactPoint).', 'wpsso' ) . ' ';
52
53 break;
54
55 case 'tooltip-meta-contact_phone': // Contact Telephone.
56
57 $text = __( 'An optional telephone number for this contact point.', 'wpsso' );
58
59 break;
60
61 case 'tooltip-meta-contact_fax': // Contact Fax.
62
63 $text = __( 'An optional fax number for this contact point.', 'wpsso' );
64
65 break;
66
67 case 'tooltip-meta-contact_email': // Contact Email.
68
69 $text = __( 'An optional email address for this contact point.', 'wpsso' );
70
71 break;
72
73 case 'tooltip-meta-contact_sameas_url': // Contact Same-As URLs.
74
75 $text = $this->p->msgs->get( 'tooltip-meta-schema_sameas_url' );
76
77 break;
78
79 /*
80 * Postal Address Information.
81 */
82 case 'tooltip-meta-contact_street_address': // Street Address.
83
84 $text = __( 'An optional street address for this contact point.', 'wpsso' );
85
86 break;
87
88 case 'tooltip-meta-contact_po_box_number': // P.O. Box Number.
89
90 $text = __( 'An optional post office box number for this contact point.', 'wpsso' );
91
92 break;
93
94 case 'tooltip-meta-contact_city': // City.
95
96 $text = __( 'An optional city name for this contact point.', 'wpsso' );
97
98 break;
99
100 case 'tooltip-meta-contact_region': // State / Province.
101
102 $text = __( 'An optional state or province name for this contact point.', 'wpsso' );
103
104 break;
105
106 case 'tooltip-meta-contact_postal_code': // Zip / Postal Code.
107
108 $text = __( 'An optional postal or zip code for this contact point.', 'wpsso' );
109
110 break;
111
112 case 'tooltip-meta-contact_country': // Country.
113
114 $text = __( 'An optional country for this contact point.', 'wpsso' );
115
116 break;
117
118 case 'tooltip-meta-contact_days': // Open Days / Hours.
119
120 $text = __( 'Select the days and hours that this contact point is open.', 'wpsso' );
121
122 break;
123
124 case 'tooltip-meta-contact_season_dates': // Seasonal Dates.
125
126 $text = __( 'If this contact point is open seasonally, select the open and close dates of the season.', 'wpsso' );
127
128 break;
129
130 default:
131
132 $text = apply_filters( 'wpsso_messages_tooltip_meta_contact', $text, $msg_key, $info );
133
134 break;
135 }
136
137 return $text;
138 }
139 }
140 }
141