PATH:
home
/
letacommog
/
morandas1
/
wp-content
/
plugins
/
wordpress-seo
/
frontend
/
schema
<?php /** * WPSEO plugin file. * * @package WPSEO\Frontend\Schema */ /** * Schema utility functions. * * @since 11.6 */ class WPSEO_Schema_Utils { /** * Retrieve a users Schema ID. * * @param int $user_id The ID of the User you need a Schema ID for. * @param WPSEO_Schema_Context $context A value object with context variables. * * @return string The user's schema ID. */ public static function get_user_schema_id( $user_id, $context ) { $user = get_userdata( $user_id ); if ( is_object( $user ) && isset( $user->user_login ) ) { return $context->site_url . WPSEO_Schema_IDs::PERSON_HASH . wp_hash( $user->user_login . $user_id ); } return $context->site_url . WPSEO_Schema_IDs::PERSON_HASH; } }
[+]
..
[-] interface-wpseo-graph-piece.php
[edit]
[-] class-schema-ids.php
[edit]
[-] class-schema-breadcrumb.php
[edit]
[-] class-schema-webpage.php
[edit]
[-] class-schema-faq-question-list.php
[edit]
[-] class-schema-article.php
[edit]
[-] class-schema-main-image.php
[edit]
[-] class-schema-image.php
[edit]
[-] class-schema-howto.php
[edit]
[-] class-schema-organization.php
[edit]
[-] class-schema-author.php
[edit]
[-] class-schema-person.php
[edit]
[-] class-schema-utils.php
[edit]
[-] class-schema-website.php
[edit]
[-] class-schema-faq.php
[edit]
[-] class-schema.php
[edit]
[-] class-schema-context.php
[edit]
[-] class-schema-faq-questions.php
[edit]