{"id":5415,"date":"2022-07-02T10:36:24","date_gmt":"2022-07-02T03:36:24","guid":{"rendered":"https:\/\/doc.gm-computindo.com\/?p=5415"},"modified":"2024-09-27T03:05:06","modified_gmt":"2024-09-27T03:05:06","slug":"membuat-fungsi-pengaturan-tampilan-data","status":"publish","type":"post","link":"https:\/\/gmcomputindo.com\/doc\/membuat-fungsi-pengaturan-tampilan-data\/","title":{"rendered":"Membuat Fungsi pengaturan tampilan data"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5415\" class=\"elementor elementor-5415\">\n\t\t\t\t<div class=\"elementor-element elementor-element-92ff5f7 e-flex e-con-boxed e-con e-parent\" data-id=\"92ff5f7\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bfc69f4 elementor-widget elementor-widget-text-editor\" data-id=\"bfc69f4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Buat File PHP pada direktory helpers, misalnya dengan nama file myfunction_helper.php, lalu buat function yang diinginkan, saya buatkan beberapa contoh dibawah ini\u00a0 :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-829a955 elementor-widget elementor-widget-text-editor\" data-id=\"829a955\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Jika pada input kita mengisikan angka 0821-1573-9991, maka dengan menampilkan value=<!--?= format_telpon($nophone); ?-->\u00a0 akan ditampilkan menjadi 62821-1573-9991.<\/p><p>Berikut masih banyak fungsi lainnya yang bisa digunakan, silahkan copas sesuai kebutuhan.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Buat File PHP pada direktory helpers, misalnya dengan nama file myfunction_helper.php, lalu buat function yang diinginkan, saya buatkan beberapa contoh dibawah ini  :<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[11,16],"tags":[],"class_list":["post-5415","post","type-post","status-publish","format-standard","hentry","category-codeigniter","category-php"],"_links":{"self":[{"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/posts\/5415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/comments?post=5415"}],"version-history":[{"count":1,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/posts\/5415\/revisions"}],"predecessor-version":[{"id":6655,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/posts\/5415\/revisions\/6655"}],"wp:attachment":[{"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/media?parent=5415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/categories?post=5415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gmcomputindo.com\/doc\/wp-json\/wp\/v2\/tags?post=5415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}