Here you will find a list of all available hooks and filters in the project theme. This will facilitate you to modify the project theme through a child theme in order to keep the parent theme unchanged for better future updates. The project theme comes with many filters and hooks and you can modify everything very easy for your new website.
General Hooks / Actions
ProjectTheme_get_post_blog_function – runs when a blog post is shown in the all blog posts page, or in the blog posts archives (category, author, date, search, tag). By default the function called “ProjectTheme_get_post_blog_function” is attached to this hook. If you need to define your own blog post display function in your child theme make sure you remove the function first by calling “remove_filters”
ProjectTheme_get_regular_post_project – runs when a project post is shown in various sections of the website (eg: homepage, search projects). There is also a parameter that this function/action takes, its an array for the type of project, like outstanding, or paid, etc. By default the function called “ProjectTheme_get_regular_post_project” is attached to this hook. If you need to define your own blog post display function in your child theme make sure you remove the function first by calling “remove_filters”
projectTheme_get_post_pay_function – runs when a project post is shown in outstanding payments projects area, in service provider account area. There is also a parameter that this function/action takes, its an array for the type of project, like status, or paid status, etc. By default the function called “projectTheme_get_post_pay_function” is attached to this hook. If you need to define your own blog post display function in your child theme make sure you remove the function first by calling “remove_filters”
projectTheme_get_post_paid_function – runs when a project post is shown in paid projects area, in service provider account area. There is also a parameter that this function/action takes, its an array for the type of project, like status, or paid status, etc. By default the function called “projectTheme_get_post_paid_function” is attached to this hook. If you need to define your own blog post display function in your child theme make sure you remove the function first by calling “remove_filters”
Payment Hooks / Actions
ProjectTheme_add_payment_options_to_post_new_project – with this filter you can add more payment methods (payment links) to the post new project screen, in step 3. The parameter this action needs to be called with is the post project ID.
ProjectTheme_deposit_methods – with this filter you can add more payment methods (payment links) to the deposit credits/virtual currency panel in user account.