Skip to content

Instantly share code, notes, and snippets.

View nir-riskified's full-sized avatar

Nir Alal nir-riskified

View GitHub Profile
@ryanemitchell
ryanemitchell / blade.xml
Created December 14, 2022 23:03
Sage Blade Directives for PHPStorm - place in projects .idea folder and restart the IDE
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="BladeInjectionConfiguration" default="false">
<directives>
<!-- Sage Directives - WordPress - https://log1x.github.io/sage-directives-docs/usage/wordpress.html-->
<data directive="@query" injection="true" prefix="(" suffix=")"/>
<data directive="@posts" injection="true" prefix="(" suffix=")"/>
<data directive="@hasposts" injection="true" prefix="(" suffix=")"/>
<data directive="@noposts" injection="true" prefix="(" suffix=")"/>
<data directive="@titl"/>