This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<link>https://www.nerdwallet.com/article/mortgages/fthb-affordability-q22023</link> | |
<guid>https://www.nerdwallet.com/article/mortgages/fthb-affordability-q22023</guid> | |
<description>This second quarter analysis finds high rates and higher prices made for another tough quarter for potential first-time home buyers.</description> | |
<pubDate>Tue, 5 Sep 2023 06:00:00 +0000</pubDate> | |
<category>Mortgages</category> | |
<title>First-Time Home Buyer Metro Affordability Report — Q2 2023</title> | |
<media:content url="https://placehold.co/3840x2160.mp4?text=Hello+World" type="video/mp4"> | |
<media:thumbnail url="https://placehold.co/600x400" type="image/jpg"/> | |
<media:description type="plain">Hello world over a gray square</media:description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"articles": { | |
"nodes": [ | |
{ | |
"title": "Elon Musk’s obsession with blue checks is a verified problem", | |
"body": { | |
"components": [ | |
{ | |
"__typename": "EntrybodyParagraph", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT post_id,meta_value | |
FROM db.wp_postmeta | |
INNER JOIN db.wp_posts ON db.wp_postmeta.post_id = db.wp_posts.ID | |
WHERE post_type IN('post','page','custom_post_type') | |
AND meta_key = 'some_meta_key' | |
AND meta_value | |
IN( | |
'item1','item2','item3' | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WordPress dependencies | |
*/ | |
import { | |
InspectorControls, | |
MediaUpload, | |
useBlockProps, | |
} from '@wordpress/block-editor'; | |
import ServerSideRender from '@wordpress/server-side-render'; | |
import { __ } from '@wordpress/i18n'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global jQuery */ | |
/** | |
* Styles | |
*/ | |
import './term.scss'; | |
( () => { | |
const { | |
i18n: { __ }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Core setup. | |
* | |
* @package Plugin_Core | |
*/ | |
namespace PluginCore; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Setup class. | |
*/ | |
class Setup { | |
/** | |
* Return only one instance of Setup. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
register_post_meta( | |
'post', | |
'forage_authors', | |
[ | |
'type' => 'array', | |
'description' => 'Additional authors IDs.', | |
'single' => true, | |
'sanitize_callback' => null, |