• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AxeWP / wp-graphql-rank-math / 14947513062

10 May 2025 05:19PM UTC coverage: 86.429% (-2.0%) from 88.44%
14947513062

Pull #121

github

web-flow
Merge f69ff5d7f into 3bd3ede8c
Pull Request #121: dev: add support for lazy-loading `description`/`deprecationReason` config values

356 of 366 new or added lines in 65 files covered. (97.27%)

60 existing lines in 60 files now uncovered.

2541 of 2940 relevant lines covered (86.43%)

11.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.43
/src/Type/WPObject/Settings/Meta/SocialMeta.php
1
<?php
2
/**
3
 * The SocialMeta GraphQL object.
4
 *
5
 * @package WPGraphQL\RankMath\Type\WPObject\Settings\Meta
6
 */
7

8
declare( strict_types = 1 );
9

10
namespace WPGraphQL\RankMath\Type\WPObject\Settings\Meta;
11

12
use WPGraphQL\RankMath\Vendor\AxeWP\GraphQL\Abstracts\ObjectType;
13

14
/**
15
 * Class - SocialMeta
16
 */
17
class SocialMeta extends ObjectType {
18
        /**
19
         * {@inheritDoc}
20
         */
21
        protected static function type_name(): string {
22
                return 'SocialMetaSettings';
19✔
23
        }
24

25
        /**
26
         * {@inheritDoc}
27
         */
28
        public static function get_description(): string {
UNCOV
29
                return __( 'The RankMath SEO Social settings.', 'wp-graphql-rank-math' );
×
30
        }
31

32
        /**
33
         * {@inheritDoc}
34
         */
35
        public static function get_fields(): array {
36
                return [
19✔
37
                        'facebookPageUrl'    => [
19✔
38
                                'type'        => 'String',
19✔
39
                                'description' => static fn () => __( 'The complete Facebook page URL.', 'wp-graphql-rank-math' ),
19✔
40
                        ],
19✔
41
                        'facebookAuthorUrl'  => [
19✔
42
                                'type'        => 'String',
19✔
43
                                'description' => static fn () => __( 'The personal Facebook profile URL used to show authorship when articles are shared on Facebook.', 'wp-graphql-rank-math' ),
19✔
44
                        ],
19✔
45
                        'facebookAdminId'    => [
19✔
46
                                'type'        => [ 'list_of' => 'Int' ],
19✔
47
                                'description' => static fn () => __( 'A list of numeric Facebook admin User Ids.', 'wp-graphql-rank-math' ),
19✔
48
                        ],
19✔
49
                        'facebookAppId'      => [
19✔
50
                                'type'        => 'Int',
19✔
51
                                'description' => static fn () => __( 'The facebook Facebook app ID.', 'wp-graphql-rank-math' ),
19✔
52
                        ],
19✔
53
                        'twitterAuthorName'  => [
19✔
54
                                'type'        => 'String',
19✔
55
                                'description' => static fn () => __( 'Twitter Username of the auther used in the `twitter:creater` tag.', 'wp-graphql-rank-math' ),
19✔
56
                        ],
19✔
57
                        'additionalProfiles' => [
19✔
58
                                'type'        => [ 'list_of' => 'String' ],
19✔
59
                                'description' => static fn () => __( 'Additional social profile URLs to add to the sameAs property for the Organization Schema.', 'wp-graphql-rank-math' ),
19✔
60
                        ],
19✔
61
                ];
19✔
62
        }
63
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc