Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Latest commit

 

History

474 Commits

Folders and files

Repository files navigation

WP Parser Lib

This package contains the file scanning and hook parsing functionality from WP Parser.

I did not write this code. I just abstracted it so it can be used independently of the WP Parser WordPress plugin.

Requirements

Installation

composer require wp-hooks/parser

Usage

$files  = \WP_Parser\get_wp_files( $path );
$output = \WP_Parser\parse_files( $files, $path );

See wp-hooks/generator as a full usage example.

About

File scanning and hook parsing functionality for WordPress core, plugins, and themes

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages