Skip to content

Instantly share code, notes, and snippets.

@matzeeable
Created February 14, 2019 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matzeeable/8952eeab2233c6662b9c5b6fec36e806 to your computer and use it in GitHub Desktop.
Save matzeeable/8952eeab2233c6662b9c5b6fec36e806 to your computer and use it in GitHub Desktop.
matthias-web.com Blog: Documentation for WordPress Actions and Filters
<?php
/**
* Enqueue scripts for all admin pages.
*
* @since 2.8.0
* @hook admin_enqueue_scripts
* @param {string} $hook_suffix The current admin page.
*/
do_action( 'admin_enqueue_scripts', $hook_suffix );
/**
* Filters the title tag content for an admin page.
*
* @since 3.1.0
* @hook admin_title
* @param {string} $admin_title The page title, with extra context added.
* @param {string} $title The original page title.
* @returns {string} The title
*/
$admin_title = apply_filters( 'admin_title', $admin_title, $title );
npm install jsdoc -g
npm install wp-hookdoc --save-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment