Skip to content

InstaWP/wordpress-string-locator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fc20c1d · Nov 2, 2022
Feb 27, 2022
Jul 20, 2022
Nov 2, 2022
Nov 2, 2022
Aug 19, 2022
Nov 2, 2022
Apr 10, 2021
May 23, 2020
Feb 27, 2022
Feb 27, 2022
May 23, 2020
Feb 27, 2022
Sep 17, 2019
Dec 5, 2020
Jul 20, 2022
May 26, 2022
Nov 1, 2022
Nov 1, 2022
Feb 27, 2022
Nov 2, 2022
Feb 27, 2022

Repository files navigation

String locator

Find and edit code or texts in your themes plugins or anywhere within the WordPress directory.

Contributing

Contributions are both encouraged, and very welcome.

Setting up a local environment

The project makes use of wp-env for a local testing environment, composer for PHP dependencies (such as phpunit), and npm for the package manager wrapper.

  • Set up composer composer install
  • Set up build dependencies npm install

That's it for the basics, you're now ready to make changes to the codebase!

Ready to test your changes? Wonderful!

Start by building the project:

  • npm run build

Once that's done, you should have a new directory named string-locator which holds the ready to use plugin.

If you have your own testing setup, you may use that now, if not, using wp-env is a convenient way to test the plugin.

  • npm run wp-env start will start the environment on http://localhost:8888
  • npm run wp-env stop stops the environment

If you are familiar with wp-env already, you may call any of its functions using npm run wp-env [command], or read more about wp-env in the WordPress Developers handbook