How to find particular functions in themes and other questions

[ad_1]

So trying to get familiar with the theme I am using for my personal blog, theme is here:[https://github.com/xVicissitudex/WordPress-Themes/blob/main/unblock/index.php])

In index.php, what is the purpose of do\_action()? WordPress is [saying]) that the function requires one argument at least which is the hook name. WordPress will then call the callback function attached to said hook. Looking at the function though, `unblock_blog_home_heading` cannot be a standard wordpress hook, so is it custom? I am trying to find the definition in the theme but cannot do it. Is there anyway I can do a search for the definition?

get_header(); ?>

<?php // Action hook for the blog home page heading area
do_action(‘unblock_blog_home_heading’);

// Action hook for any content placed before posts
do_action(‘unblock_before_posts’);

// Get our blog layout
unblock_blog_styles();

// Action hook for any content placed after posts
do_action(‘unblock_after_posts’);
?>

<?php
get_footer();

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer