This script is intended to allow you to specify a theme or plugin and then it will scan through and find possible deprecated function calls.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
get_deprecated_hooks.rb
readme.markdown
search_for_deprecated_hooks.rb

readme.markdown

Description

Gets a list of all the deprecated hooks from the Adam Brown site and then goes through each one and if need be it cuts out the variable section so it can search for the beginning of the dynamic hooks.

Example

Edit search_for_deprecated_hooks.rb and replace "MYPROJECTPATH" with the path to your project

./get_deprecated_hooks.rb | ./search_for_deprecated_hooks.rb