I have a question relating to REST API hardening. If i want to allow enumeration of posts and pages (for web trawlers and spiders and rss services, etc.), how can i specify these exclusions in the namespaces field?
]]>How can I call a method from my function.php file?
for example this
https://code.elementor.com/methods/elementor-core-settings-base-manager-save_settings/
What do I need to do in order to call this method?
]]>$loader
variable (instantiated in meta-box.php
). In a future update, is there anyway you could make this variable a little more unique so this won’t hurt other sites that may contain a global $loader
variable by implementing namespaces or renaming it to $rwmbLoader
or something along the lines of that?
Thanks, and kind regards!
]]>Parse error: syntax error, unexpected T_STRING in /var/sites/d/demo.ukwebsitedesigncompany.co.uk/public_html/mayfairnetworkingevents.com/wp-content/plugins/newsletters-lite/wp-mailinglist-plugin.php on line 2237
]]>We are translating the plugin and we saw that some stings are not being translateed because the namespaces on the php files are wrong. I.E:
avfr-functions.php line 1679:
<option value=”#”><?php _e(‘Select a group’,’feature_request’); ?></option>
Where ‘feature_request’ must be ‘feature-request’.
Could you solve these incidences?
Thanks
]]>I tried using it to create a simple new field type, but it is looking for my custom field class in the main CF core folder:
https://github.com/htmlburger/carbon-field-template/issues/1
Do I have to give the plugin my own namespace and reference it as something like this?
\MyNameSpace\MyPlugin\Custom_Field::make('fieldtype', 'crb_custom_field')
I’d rather avoid doing that because it’s messy and would be confusing to a user. I’m just curious what I’m doing wrong, and an example of one that is working with 1.5 would be very helpful (even if it’s just a simple “Text2_Field” that displays a simple input).
Thank you!
Daniel