Knowledge Base

NS Basics

Actions & Filters

Actions & Filters

Actions

Name Description Location
ns_basics_before_dashboard Hooks in before the dashboard content is displayed. /includes/templates/dashboard.php
ns_basics_dashboard_stats Outputs dashboard widgets /includes/templates/dashboard.php
ns_basics_after_dashboard Hooks in after dashboard content is displayed /includes/templates/dashboard.php
ns_basics_before_edit_profile Hooks in before the edit profile form is displayed /includes/templates/edit_profile.php
ns_basics_after_edit_profile Hooks in after the edit profile form is displayed /includes/templates/edit_profile.php
ns_basics_before_favorites Hooks in before the favorites list is displayed /includes/templates/favorites.php
ns_basics_after_favorites Hooks in after the favorites list is displayed /includes/templates/favorites.php
ns_basics_before_login_form Hooks in before the login form is displayed /includes/templates/login_form.php
ns_basics_after_login_form Hooks in after the login form is displayed /includes/templates/login_form.php
ns_basics_before_register_form Hooks in before the register form is displayed /includes/templates/register_form.php
ns_basics_after_register_form Hooks in after the register form is displayed /includes/templates/register_form.php
ns_basics_admin_before_field Hooks in before an admin field is displayed /includes/classes/class-ns-basics-admin.php
ns_basics_admin_after_field Hooks in after an admin field is displayed /includes/classes/class-ns-basics-admin.php
ns_basics_before_page_settings Hooks in before the admin page settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_before_banner_settings Hooks in on the edit page screen, before the admin banner settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_after_banner_settings Hooks in on the edit page screen, after the admin banner settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_before_page_layout_settings Hooks in on the edit page screen, before the admin page layout settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_after_page_layout_settings Hooks in on the edit page screen, after the admin page layout settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_before_page_cta_settings Hooks in on the edit page screen, before the admin call to action settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_after_page_cta_settings Hooks in on the edit page screen, after the admin call to action settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_after_page_settings Hooks in on the edit page screen, after the admin page settings panel is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_before_slide_settings Hooks in on the edit slide screen, before the slide settings are displayed /includes/classes/class-ns-basics-slides.php
ns_basics_after_slide_settings Hooks in on the edit slide screen, after the slide settings are displayed /includes/classes/class-ns-basics-slides.php

Filters

Name Description Location
ns_basics_admin_field_types Filters all the admin field types /includes/classes/class-ns-basics-admin.php
ns_basics_page_settings_init_filter Filters all the page setting fields /includes/classes/class-ns-basics-page-settings.php
ns_basics_page_settings_filter Filters all the saved page setting fields /includes/classes/class-ns-basics-page-settings.php
ns_basics_page_settings_post_types Filters all the post types for which the page settings meta box is displayed /includes/classes/class-ns-basics-page-settings.php
ns_basics_slide_settings_init_filter Filters all the slide setting fields /includes/classes/class-ns-basics-slides.php
ns_basics_slide_settings_filter Filters all the saved slide setting fields /includes/classes/class-ns-basics-slides.php