I’m pretty sure that function tnc-remove_default_menu
is not defined anywhere in your code. (You shouldn’t use -
character in function name in PHP).
So most probably there is a function called tnc_remove_default_menu
, and you’ve misspelled it’s name in add_action
/add_filter
.
If there is no such function anywhere in your code, then you should remove this filter/action (if this function is not needed and you don’t use it) or implement this function (if you want to use it).
Related Posts:
- How to wrap submit button of comment form with div
- How can I limit the number of comments per registered user per day?
- Showing comments only to same custom user role
- How to hide “Trackback” on paginated comments
- how to have 2 comments_template() in one post
- Passing arguments to wp_list_comments callback function
- customize comment form
- comments_template not working correcly in custom template files
- How can I show comments in random order?
- How to get last comments but not from admin (or other specific user role/capability)?
- What does the “$depth” parameter in the Walker_Comment stand for?
- Add classname comment template from functions.php
- Customizing comments pagination for bootstrap
- comment_post action hook running on page load instead of after a comment is posted
- using comments_template() in custom single-portfolio.php
- how to properly use comments-template.php
- WordPress comments – how to check if comment still needs to be approved?
- Modify WordPress Comment From For AMP Html
- comments_number not displaying
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- The comment could not be saved. No comment_ID on comments
- How to display comment meta under each comment content
- How can I embed comments plugin to my own website?
- Custom comment field not showing when logged-in
- Custom comment link
- How to display replies to his comments in user profile of current user
- How to show a list of comments on home page from all posts?
- reply comment below the comment box without reload page
- How to call out the date of user’s first comment?
- How to pass settings to comment_form() if theme only uses comments_template()?
- How to add a class to comment submit button?
- How Can I display the Current Logged-In User’s Comment at the Top of the Comments Section in WordPress?
- Comments page id wp_list_comments
- reply to comment excerpt instead of author in comment title
- Redirect first time comments
- How to maintain changes to comment-template.php
- Display Comment Form on dedicated Page for each post
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Auto approve all comments (editor)
- The last comments of a post for the author of that post
- Why does the reply link in comments template scroll to comment position?
- Make comment textarea input un-required
- Nofollow the date/time hyperlink in comment
- Add option to disable comments on a per posts basis?
- Check If comment author is registered
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Is there a hook for comment author link?
- How can I edit the email sent when a new comment is received?
- How to remove or replace the log-in link for comment replies?
- How to Block Access to Standard Login Flow and Comment Flow
- Add Comment Custom Field
- Prevent Contributor to show comment list
- where to modify get_comment_author_link()?
- Does Akismet plugin expose any hooks, functions, class that can work with custom code?
- Comments Feed & Custom Post Statuses
- Can I have two single.php files and have one display just the post and the other display comments for that specific post?
- How can I change the link in comment form “Log in to post a comment”?
- remove_filter( ‘comment_author’, ‘floated_admin_avatar’ ); doesn’t work
- Does wp_new_comment expect a comment in HTML?
- How to insert Comment metadata via REST API
- Ajax comments not working
- WordPress Comments are automatically publishing
- save_post action hook for comments
- How to handle upvotes and downvotes of disqus comments after importing disqus comments to wordpress?
- All users/comments suspected as bot? [closed]
- Show comments of a user post only when they are login
- comments in Admin
- have_comments not true for logged out visitors?
- Anonymize comments after one year
- How many members have made comments approved for an article?
- How to get a value from comment meta
- reCaptcha doesnt appear in comment (manual or plugin)
- Comment System showing different type of IP
- Pending Comments
- Only Allow post author and “Premium” Role user to comment
- Exclude the word comment from being referenced
- How to open up comments to all visitors
- Limit iframe output in comment-meta commentmetadata
- What is the earliest hook comment meta can be saved?
- I don’t have comments.php… how do I customize my comment fields
- Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard
- Comment as post – understanding wp_list_comments
- Comments and pingbacks issues
- Cannot unapprove a WordPress comment
- how show attachment image in comments query
- Automatically register users with comments
- Comments only displaying when logged in
- Same comment section on every page
- Force to show all fields in comment forms to the logged-in users
- Unable to view comments on my website
- Using WordPress core pop-up comment function, doesn’t popup, maybe an elementor issue
- comment_moderation_subject is not working for me
- How do you remove the ability for a user to make a comment or post on a page?
- wp_trash_post retrashes already trashed comments?
- wp_insert_user email confirmation
- use a page to render 1 post and include comments FOR THE POST
- wp_list_comments() only returns when user is loged in
- Remove “#comments” from comments pagination url
- How can I add a check and not send an auto-reply to certain comments if the user fills in a custom field?