Skip to content

Instantly share code, notes, and snippets.

View mustafaelnagar's full-sized avatar

Mustafa.adel.elnagar mustafaelnagar

View GitHub Profile
@bradtraversy
bradtraversy / scrapy.md
Last active November 30, 2022 14:05
Scrapy commands and code
<?php
/**
* Plugin Name: Try AMP CTA
*/
add_filter(
'the_content',
function ( $content ) {
if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
$content = '<p>CTA!</p>' . $content;