Hi @wapoxac,
Thanks for your inquiry.
Dear friend, please find “register_fmemailverification_cpt” function in form-maker.php and change “show_in_menu” parameter value to true, after that you can find “FM Mail Verification” menu in WP dashboard, so you can delete post from that list.
Hi Zhanna,
Thank you for your reply.
I went into formmaker.php (in the plug-ins folder) but wasn’t able to locate the “register_fmemailverification_cpt” function in that file. Do I need to look somewhere else?
Hi @wapoxac,
Please see the screenshot the function is there https://nimb.ws/uOVvL0.
Can you please check again? Please search without “”.
Hi Zhanna,
Your screenshot was helpful and FM Mail Verification is showing in WP.
When I click on it, I see the “Email Verification” page, but I am unable to delete it. I only see “Edit”, “Quick Edit” and “View”.
Just making sure this didn’t drop off your radar, thanks.
Hi @wapoxac,
Please also set ‘delete_posts’ => FALSE value to TRUE and then check again.
Hi @zhannak,
We’re slowly getting there :).
I set that parameter and I’m now able to select “Move to Trash”. Once I attempt to move it to the trash, I get another error message:
“Sorry, you are not allowed to move this item to the Trash.”
What would I have to do next to be allowed moving it?
hi @zhannak, any update on what I can try next?
Hello @wapoxac,
I am very sorry to get back to you late.
Dear friend, I should ask to make one more change:
Please find “register_fmemailverification_cpt” function in form-maker.php and delete the below part:
'show_in_menu' => false,
'show_in_nav_menus' => false,
'capabilities' => array(
'create_posts' => FALSE,
'edit_post' => 'edit_posts',
'read_post' => 'edit_posts',
'delete_posts' => FALSE,
)
Then please add this code:
'show_in_menu' => TRUE,
'show_in_nav_menus' => TRUE
'capability_type' => 'post',
After this please try to delete that page again.
Hi @zhannak,
Thank you for your help. This time I was able to delete the verification page.
I am not sure if it made a difference, but I added a comma after the ‘show_in_nav_menus’ => TRUE statement, so the statement I used looked like this:
'show_in_menu' => TRUE,
'show_in_nav_menus' => TRUE,
'capability_type' => 'post',
Great support zhannak.
Awesome @wapoxac !
It was my pleasure to help you!