Tag: add action

  • Register Widget in WordPress -10

    Register Widget in WordPress -10

    Widgets are blocks of content that you can add to your site’s sidebars, footers, and other areas of your website where you want. These are created to provide a simple, easy and user friendly to control the design and content of their site without doing code.  register_sidebar function is used to register a widget with…

  • Function File in WordPress -6

    Function File in WordPress -6

    In WordPress, functions.php file act as a plugin for WordPress site that’s automatically activated current theme. This file uses PHP code to add or change default features on a WordPress site. The Following hooks are given with their purpose. add_action()   Actions are the hooks that the WordPress launches at specific points during execution, or when…