0 votes
152 views
in Discuss by (98.9k points)
edited
What are the hooks? Define different types of hooks in WordPress.

1 Answer

0 votes
by (98.9k points)
edited

Hooks enable users to create WordPress themes or plug-ins with shortcode without changing the original files.

There are two types of hooks:

Action hooks: Action hooks facilitate you to insert an additional code from an outside resource.

Filter hooks: Filter hooks facilitate you to add content or text at the end of the post.

Related questions

0 votes
1 answer 143 views
0 votes
1 answer 108 views
asked Jun 10, 2022 in Discuss by Doubtly (98.9k points)
0 votes
1 answer 129 views
0 votes
1 answer 108 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...