Hooks feature provides a means to tap into and modify the inner workings of the framework without hacking the core files. So, if you want to put a functionality which can run whenever a controller’s function initialized then you should call a function through hooks. The following is a list of available hook points. pre_system Called
Middleware provides a convenient mechanism for filtering HTTP requests entering your application. For example, Laravel includes a middleware that verifies the user of your application is authenticated. If the user is not authenticated, the middleware will redirect the user to the login screen. However, if the user is authenticated, the middleware will allow the request
Namespaces are one of the most significant changes in PHP 5.3.Namespaces are a way of encapsulating items. As the size of your PHP code library increases, the more likely you will accidentally reuse a function or class name that has been declared before. The problem is exacerbated if you attempt to add third-party components or
Traits are one of the biggest addition in the PHP 5.4. In PHP trait is the method of code re-usability.As we know PHP is single inheritance programming language.As per my opinion, the main intention of introducing the trait in PHP is to reduce limitation of code re-usability in PHP single inheritance nature. The structure of
Contact Form 7 is one of the most popular form management plugins available on WordPress repository. Which provide user friendly interface for managing form and email body. We can also manage addition settings like success or failure message form redirection etc in plugin settings. Sometimes you will need some extra functions with POST values which
Just follow the steps and access your WordPress site easily
It sometimes happens that when you move your WordPress site one host to another you may face some problems that site is not opening, URL not working properly, check your database connection.These points get some help to avoid those type of errors.
If you like to work on WordPress then you have to know about user roles and capabilities.Which role is suitable for the user to give some access to particular functionality.
If you build a website on WordPress where you want to create two different page template one for frontpage i.e index page and one for blog page i.e where you show all posts, then you have to know the page name.
Php 7 gives some important features through which you can really love to use and apply those things to your project So, let’s explore with new features.