{"id":100114,"date":"2019-04-01T12:22:54","date_gmt":"2019-04-01T12:22:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wordpress-configuration-by-davask-your-d-n-a\/"},"modified":"2019-11-16T11:09:39","modified_gmt":"2019-11-16T11:09:39","slug":"dvk-conf","status":"closed","type":"plugin","link":"https:\/\/zh-sg.wordpress.org\/plugins\/dvk-conf\/","author":11812795,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.7","stable_tag":"trunk","tested":"5.2.24","requires":"5.0.3","requires_php":"7.0","requires_plugins":"","header_name":"Maras IT Suite : Core Configuration","header_author":"davask","header_description":"This is the main plugin for the DaVasK WordPress Suite (by davask - your D.N.A.) it includes automatic organization of admin navbar and admin menu","assets_banners_color":"3495c0","last_updated":"2019-11-16 11:09:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.marasit.com\/","header_author_uri":"https:\/\/www.marasit.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":949,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2167718","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2167714","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"2167717","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"2167716","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1082,3017,54484],"plugin_category":[43],"plugin_contributors":[169787],"plugin_business_model":[],"class_list":["post-100114","plugin","type-plugin","status-closed","hentry","plugin_tags-composer","plugin_tags-configuration","plugin_tags-namespace","plugin_category-customization","plugin_contributors-davask42","plugin_committers-davask42"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dvk-conf_3495c0.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Suite is a set of tools and configuration from MarasIT your End to End WordPress Agency.\nCore Configuration is the basement of all others which activate a default set of WordPress settings.<\/p>\n\n<p>PLUGINS:\n- iThemes Security (formerly Better WP Security)\n- W3 Total Cache\n- WP-Optimize \u2013 Clean\n- Compress\n- Cache\n- Timber\n- CMB2\n- Activate Namespace In Themes (by Maras IT)\n- Activate Namespace In Plugin (by Maras IT)\n- Development Environement Suite (by Maras IT)<\/p>\n\n<p>CONSTANTS:\n    `\ndefine(\\'FS_METHOD\\', \\'direct\\');\ndefine(\\'DISALLOW_FILE_EDIT\\', true );\ndefine(\\'DVK_DEBUG\\', false);\ndefine(\\'WP_DEBUG\\', false);\ndefine(\\'FORCE_SSL_LOGIN\\', true);\ndefine(\\'FORCE_SSL_ADMIN\\', true);\ndefine(\\'FORCE_SSL\\', true);\ndefine(\\'CONCATENATE_SCRIPTS\\', true);\ndefine(\\'COMPRESS_SCRIPTS\\', true);\ndefine(\\'COMPRESS_CSS\\', true);\ndefine(\\'ENFORCE_GZIP\\', true);\ndefine(\\'FS_CHMOD_DIR\\', ( 0755 &amp; ~ umask() ) );\ndefine(\\'FS_CHMOD_FILE\\', ( 0644 &amp; ~ umask() ) );\ndefine(\\'WP_MEMORY_LIMIT\\', \\'512M\\');<\/p>\n\n<p>\/\/ debug\ndefine(\\'WP_DEBUG_LOG\\', true);\ndefine(\\'WP_DEBUG_DISPLAY\\', false);\ndefine(\\'SCRIPT_DEBUG\\', true );\ndefine(\\'SAVEQUERIES\\', true );\n    `<\/p>\n\n<p>NAMESPACE:\n    &#092;DvkConf namespace allow you to acces the wp-content\/plugins\/dvk-conf directory with namespace <code>use<\/code> instead of <code>require_once<\/code> or variations<\/p>\n\n<p>METHODS:\nby adding :<code>use DvkConf\\\\Utils\\\\Debug;<\/code> you can dump your test with <code>Debug::dump($your_variable)<\/code> which will use <code>var_dump<\/code> or <code>VarDumper<\/code> for Symfony depending on your configuration.\nby adding <code>use DvkConf\\\\Utils\\\\Functions;<\/code> you can \\\"override\\\" a parent theme function with this syntax : <code>Functions::f($my_prefix.\\'wp_header\\')();<\/code>\nTo use this feature, you will need to create a function <code>wp_header()\\' which will contain the code to replace the original function<\/code>wp_header()<code>.\nIn case your function do not exists<\/code>wp_header()<code>will be executed.\nIn case<\/code>wp_header()<code>do not exists a<\/code>Ooops` dump will show in place of the function<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>the directory dvk-conf<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the \\'Plugins\\' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>\n\n<h4>0.0.4<\/h4>\n\n<ul>\n<li>Beta version.<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Beta version.<\/li>\n<\/ul>","raw_excerpt":"The Suite is a set of tools and configuration from MarasIT your End to End WordPress Agency. Core Configuration is the basement of all others","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/100114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=100114"}],"author":[{"embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/davask42"}],"wp:attachment":[{"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=100114"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=100114"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=100114"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=100114"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=100114"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/zh-sg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=100114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}