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
- Add option to disable comments on a per posts basis?
- Paginate result set from $wpdb->get_results()
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Threaded comments – deleting parent comment leads to orphan comments
- 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
- Remove link preview in discussion dashboard
- 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
- Automatically increase comment karma on comment save
- 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
- How to get and use the the number of days since the last comment?
- How do I add class to an admin comment?
- Best way to tell if a comment is from a user?
- WordPress Spam Comment Filter
- Which hook do I use to edit pending comment count on wordpress dashboard?
- Add comment_id on Comments page within wp-admin
- comment button shows only logged in users wordpress
- Getting comments of an specefic user
- get only one last comment from each post
- Customise Comment form
- Limit action in comment according to IP
- How to get recent comment link
- stumped on add_action hook to delete_comment – any ideas?
- Can I create a new comment type?
- Avoiding calls to theme-compat
- Allow tags between shortcode in comments
- Delete/Spam Comment Button
- Who approved a comment, to show up in dashboard
- I have an odd field with a purple background, mentioning HTML-codes to use while leaving comments
- No comment Section but still got a Comment
- How to prevent users/authors from seing IP/email of new commentators?
- Why are my threaded comments not quite working? [closed]
- $post->comment_status always returns ‘closed’
- Order comments in admin by custom date
- WordPress Comments – Divide by conversation like Medium.com
- Posting XML in comment section
- How to check if post has previous_comments_link() and next_comments_link()
- Comments – Ensure the correct field is highlighted for nested replies
- How to hold all comments for moderation, including author’s comments on own post
- WordPress error when sending comment
- WordPress Page Template: Comment Filtering with Querystring
- comments are going to spam
- Why default comment fields don’t show up?
- How to enable truly anonymous posting in bbPress forums? [closed]